Re: So... we can't use UIWebView (with a delegate) on a page that's pushed onto a UINavigationController stack?
Re: So... we can't use UIWebView (with a delegate) on a page that's pushed onto a UINavigationController stack?
- Subject: Re: So... we can't use UIWebView (with a delegate) on a page that's pushed onto a UINavigationController stack?
- From: Matt Neuburg <email@hidden>
- Date: Tue, 21 Jun 2011 08:04:27 -0700
> Date: Mon, 20 Jun 2011 11:21:17 -0400
> From: Jeff Kelley <email@hidden>
> Subject: Re: So... we can't use UIWebView (with a delegate) on a page
> that's pushed onto a UINavigationController stack?
>
> If you‚re creating the web view in -viewDidLoad, you should probably release
> it and nil the pointer to it in -viewDidUnload, not -dealloc.
>
If you're navigating back from a view whose controller was pushed onto a UINavigationController stack, you're not going to receive a viewDidUnload event. But you *are* going to receive a dealloc event. m.
--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden