Scar
Scar

Reputation: 3480

Open UIViewController from UIWebView

I'm wondering if i can do the following,

I wanna Load and view a UIViewController When i click on button inside a UIWebView, how can i get the UIWebView action and read it in the app ?

Thx in advance.

Upvotes: 1

Views: 643

Answers (1)

amir
amir

Reputation: 1332

implement webView:shouldStartLoadWithRequest:navigationType: in your code

see "communicating back with Objective-C code" here

Upvotes: 2

Related Questions