Reputation: 53
I have two tabs (things that are at the bottom of the 'Clock' app) both have webviews. how can I make a link that was clicked on first tab's webview be opened (and show to user) in second tab second webview if there is a string "test" in the URL.
thnak you!
Upvotes: 3
Views: 8379
Reputation: 4791
You'll need to set a delegate on your UIWebView and then handle the delegate method to be able to intercept the click and send it to the tab you want.
Here's an example: UIWebView open links in Safari
Upvotes: 2