Reputation: 199
How can I open an UIView when click a Link on UIWebview?
I've a project iOS UIWeview, and I need open an UIView when click some link.
I tried use this on my ViewController UIWebview:
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
NSLog(@" In - shouldStartLoadWithRequest ");
return YES; }
I did something wrong?
Thanks!
Solution:
on: myViewController.h
ViewController<UIWebViewDelegate>
Upvotes: 0
Views: 181