当前位置: 动力学知识库 > 问答 > 编程问答 >

ios - Web view is not loading for particular url

问题描述:

I am trying to load webview for the following url http://www.topchickw.com/ but blank screen occured but same code is working for other url's

NSURL *myUrl = [NSURL URLWithString:@"http://www.topchickw.com/"];

NSURLRequest *myUrlRequest = [NSURLRequest requestWithURL:myUrl];

[self.myWebView loadRequest:myUrlRequest];

Can any one suggest me how to load webview of the particular url

Thanks in Advance

网友答案:

I am not an HTML expert. It seems that the URL when loaded is playing a flash video (.swf file). iOS does not support flash. Hence the blank screen.

To cross check this I try opening the URL in mobile safari browser, it did not work.

Hope that helps!

网友答案:

Well this url if you open manually in browser you will get blank window only. Please check the issue is not in the code.

网友答案:

A flash file runs when this url is loaded into browser. The issue is not with code but with the website as iOS doesnot support flash.

分享给朋友:
您可能感兴趣的文章:
随机阅读: