Advertisement

09.14.2008 at 08:38AM PDT, ID: 23730140 | Points: 500
[x]
Attachment Details

Unable to change Button's title

Asked by kwseow in Cocoa Programming Language, Objective-C Programming Language, iPhone

Tags:

Dear experts,

I'm new to iPhone development... I'm trying to change the title of a button, so I wrote the following code:

      [myButton setTitle:@"New title" forState:UIControlStateNormal];

However, the title on button does not reflect.... any help is welcome!Start Free Trial
[+][-]09.15.2008 at 04:36AM PDT, ID: 22477532

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.18.2008 at 06:11PM PDT, ID: 22517070

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.30.2008 at 05:07PM PST, ID: 23065638

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080924-EE-VQP-38 / EE_QW_2_20070628