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

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -