iphone - UIButton setText programmatically -
I have about 10 UIButtons on the xib file and want to set program program
You can try to assign a separate tag for every button in the interface builder.
(or if you need that same tag) and then use the following code [myview view details: I]; [MyButton setTitle: @ "My Text" forState: UIControlStateNormal]; }
Comments
Post a Comment