• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: So... we can't use UIWebView (with a delegate) on a page that's pushed onto a UINavigationController stack?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: David Duncan <email@hidden>
  • Date: Fri, 17 Jun 2011 09:16:31 -0700

On Jun 16, 2011, at 7:15 PM, G S wrote:

> The delegate for the UIWebView is set up in the XIB file; it's pretty
> hokey to have to intervene in code to then disassociate the view from
> its delegate.  Also, there is no "dealloc method where you dispose of
> the UIWebView", because that's done automatically when the view is
> popped off the navigation stack.


What object is asking as the web view's delegate? Typically that object also has an owning reference to the web view, so you likely already have a -dealloc method that releases the web view – just also set the delegate of the web view at that point.
--
David Duncan

_______________________________________________

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

References: 
 >So... we can't use UIWebView (with a delegate) on a page that's pushed onto a UINavigationController stack? (From: G S <email@hidden>)

  • Prev by Date: Re: NSString accessing characters
  • Next by Date: Re: Drawing noise in Cocoa (preferably fast)
  • Previous by thread: Re: So... we can't use UIWebView (with a delegate) on a page that's pushed onto a UINavigationController stack?
  • Next by thread: Re: So... we can't use UIWebView (with a delegate) on a page that's pushed onto a UINavigationController stack?
  • Index(es):
    • Date
    • Thread