Is UIWebView KVO compliant?
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