views:

110

answers:

3

Hello, I've been trying to put a UIWebView into my app, which is tableview based. When the user selects a row, I want the new xib to load, but this one with a UIWebView on it. From all of the tutorials I've seen, you can only put a UIWebView on the MainView.xib. Can someone please tell me how to put a FUNCTIONING UIWebView somewhere other than the main view? Thanks in advance!!

+2  A: 

You can put a UIWebView in any XIB you want. Why do you believe that it has to be in MainView.xib? Tutorials generally put everything in MainView.xib because they're keeping things simple. What problem are you having when you put it elsewhere?

Can you give a link to the tutorial that indicates that you have to put this in MainView? Can you describe what "doesn't work" actually means? Does it fail to display, fail to make callbacks, fail to load pages, render incorrect?

Rob Napier
A: 

The mainview automatically has the app delegate object inserted into the xib file. When I try to insert it elsewhere, for some reason it doesn't work. In the tutorial they said that uiwebviews will only work in the mainview?

Jack
If you are trying to comment to an answer, use the "add comment" rather than creating your own answer. Answers do not generate notifications to the person you are trying to reply to. Replies do.
Rob Napier
A: 

Can someone please just point me to tutorial where the UIWebView is placed somewhere other than the MainView?

Jack Humphries