I have a view controller that is instantiated in appDelegate and pushed onto a navigation controller. The view controller’s view is created with a xib file. The xib file puts a UILabel on the view (among other things). Now I need to set the label’s text property programatically but I don’t see how to get a reference to it. How do I reference the label object?
I’m using xcode 3.2.5 and building an iPad app.
Aside from
IBOutlets, you can also set a tag property on the label in the IB. Then, when you need it you can do:111 of course being the tag you assigned to the label in IB.