I am new in iphone programming. I would like to know how can i change several UIButtons’ title simultaneously. For example, there are ten UIButtons and i want when i click first one the remaining ones’ titles change. Thanks for your help.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One way to do it, if you want to change all other buttons in the view is to iterate the subviews of the
UIViewthat contains theUIButtons.