How to Deal with UIWebView delegate in Unity xcode project

Dear All,

I’m going to add a subview of UIWebview above unity’s default window.

I successed! I did a overlay UIWebView.

and I want let all link open in iphone’s safari.

Now I failed. I tried delegate and

  • (BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)inRequest
    navigationType:(UIWebViewNavigationType)navigationType

this delegate function.

but it’s always open a link in itself.

I’ve tried all day… still cannot work.

Who can give me a clue? thank you.

this is the wrong forum for iphone support. this is a Unity forum. try devforums.apple.com.