开发者

UIWebview crashes when I load certain webpages

I have been hitting my head against the wall trying to figure this out for two days with no luck. I have a basic UIWebview that is navigating to a page. That page has a JavaScript function that seems to crash the UIWebView but works just fine in safari. I am at a loss. I get the following crash error:

2010-02-03 08:30:16.559 Wasp[11380:207] *** -[DOMElement structuralComplexityContribution]: unrecognized selector sent to instance 0xf53e60
2010-02-03 08:30:16.561 Wasp[11380:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[DOMElement structuralComplexityContribution]: unrecognized selector sent to instance 0xf53e60'

Thanks for any help or direction.

The problematic JavaScript file is the new gordon flash r开发者_JS百科untime. An example can be seen at http://davididas.com/gordon/test1.html.


File a bug with Apple, with a reference to that page. The UIWebView should not crash. Even if the html, css or JavaScript is faulty.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜