1

I call this :

    NSString *authLink = @"https://plus.google.com/share?url=http://stackoverflow.com";
NSURL *url = [NSURL URLWithString:authLink];    

[vkWebView loadRequest:[NSURLRequest requestWithURL:url]];

after I sent the text, UIWebView loaded my google+ wall. How hide webview and back to my app?

4

1 回答 1

1

webView:shouldStartLoadWithRequest:navigationType:您可以使用委托方法查看UIWebView 尝试加载的url。

有关详细信息,请参阅http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebViewDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intf/UIWebViewDelegate

当您获得 google+ 墙的 URL 时,只需隐藏/停止 UIWebView

于 2012-10-16T12:14:47.683 回答