• 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
Is UIWebView KVO compliant?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is UIWebView KVO compliant?


  • Subject: Is UIWebView KVO compliant?
  • From: sonofsky <email@hidden>
  • Date: Tue, 10 Apr 2012 11:08:08 +0800

I've set up KVO notification to watch some properties of a UIWebView like so

[webView addObserver:self
          forKeyPath:@"canGoBack"
             options:NSKeyValueObservingOptionNew
             context:NULL];
and have

- (void)observeValueForKeyPath:(NSString *)keyPath
                      ofObject:(id)object
                        change:(NSDictionary *)change
                       context:(void *)context
but it never gets called. Am I missing something or is UIWebView just not observable?


_______________________________________________

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

  • Follow-Ups:
    • Re: Is UIWebView KVO compliant?
      • From: Roland King <email@hidden>
References: 
 >Is UIWebView KVO compliant? (From: sonofsky <email@hidden>)

  • Prev by Date: Re: -[NSURL path] "If the path has a trailing slash it is stripped"
  • Next by Date: Re: Is UIWebView KVO compliant?
  • Previous by thread: Is UIWebView KVO compliant?
  • Next by thread: Re: Is UIWebView KVO compliant?
  • Index(es):
    • Date
    • Thread