Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

newtoiphonesdk

macrumors 6502a
Original poster
Jul 30, 2010
567
2
I use IB quite a bit. In my MainWindow.xib I have a tab controller. One of the tabs is a Navigation Controller, with its root view being a table view that is loaded from a separate NIB file. I would like to add something to check if a boolean value has been previously set to YES or NO, and if set to YES, instead of the table view showing, display another view that has a WebView in it, complete with toolbar and barbuttonitems. What would be the best way to do this? Create the UIWebView and Buttons and Toolbar in viewDidLoad and if boolean set to NO hide it, and if set to YES allow them to be hidden? Or something completely different?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.