开发者

iPad 2 and iPhone 4 webviews acting differently

开发者 https://www.devze.com 2023-04-11 17:23 出处:网络
I have an app that scans a bar code.It then submits a link to a server and displays the info on a webview.I\'m simply calling a request with the link + the barcode result. Now the issue is my iPhone 4

I have an app that scans a bar code. It then submits a link to a server and displays the info on a webview. I'm simply calling a request with the link + the barcode result. Now the issue is my iPhone 4, iPhone 3GS all work PERFECTLY with no prob开发者_JS百科lem what so ever.

The iPad 2 gives me the error: this page contains the following errors: error on line 26 at column 1066: EntityRef: expecting ';'

Why would this happen on the iPad and not the iPhone?

Running 4.3.5 on the iPad, 5.0 on the iPhone, 4.3.3 on the 3GS.

Thanks,

David


To solve this I am reading in the HTML, and then displaying the HTML from that local variable. This solved the issue and a bug report was posted on Apple's site.

0

精彩评论

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

关注公众号