I have create a nib that is a UIViewController and have drag a UIToolbar to my interface using the nib. I have make the necessary link of the toolbar in nib to the IBOutlet UIToolbar开发者_如何学Go class variable. When I run the app, the toolbar did not appear. Am I missing out something? I have also create the @property and @syntesize for the class variable.
Thanks.
I had a similar problem on the iPad.
By default the toolbar added with the interface builder is positioned at the bottom of the view (and in my case it didn't appear at all).
When I changed the toolbar position (using the Size/Autosizing inspector) to stick at the top, where I wanted it, the toolbar appeared.
精彩评论