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

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

gtk - Python Window Resize -

c# - read full xml file data over tcp -