Re: UIWebView IBOutlet is always nil

2013-05-12 Thread Michael Crawford
I've seen this before, but only in the case where there was no @synthesize; did your actual code use it? Yes. My best guess is that it's some corruption in the nib. I'll make a standalone App with nothing but a UIWebView in it. Maybe if that works I could just copy the xib over to my

Re: UIWebView IBOutlet is always nil

2013-05-12 Thread Alex Zavatone
Sorry, I missed the beginning of this thread, so apologies if these suggestions have already been covered. When in that case, I make sure to delete the UIWebView in the storyboard, create another one and reconnect the outlet to the property in the class. Did you create the IBOutlet property in

Re: UIWebView IBOutlet is always nil

2013-05-10 Thread Fritz Anderson
On 5 May 2013, at 6:47 PM, Michael Crawford mdcrawf...@gmail.com wrote: @property (retain,nonatomic) IBOutlet UIWebView *webView; ... @synthesize webView; ... NSLog( @%@, webView ); I've seen this before, but only in the case where there was no @synthesize; did your actual code use

UIWebView IBOutlet is always nil

2013-05-09 Thread Michael Crawford
I have a UINavigationController-based app that I would like to use a UIWebView to show an HTML page. My problem is that I declare my UIWebView property as an IBOutlet, and it is always nil. This is apparently a very common problem. Google turns up lots of queries at StackOverflow. I read them