开发者

how to use webkit framework in cocoa touch?

开发者 https://www.devze.com 2023-01-31 13:38 出处:网络
i wanna use webkit framework in my app to implement web page show. now first i wanna user NSURLConnectionconnection me开发者_开发知识库thod to get the requst data.

i wanna use webkit framework in my app to implement web page show.

now first i wanna user NSURLConnection connection me开发者_开发知识库thod to get the requst data. then i use a webView loadData:urlData the push the data to the webview show.

now debug in this method

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType

find open a new url request like url = about:blank in the webview delegate.

i dont know why can open a new blank url request during this requst.

who can tell me why? thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号