0

为什么同一 Youtube URL 的 Safari 和 UIWebView 之间存在视觉差异?

// UIWebView
NSURL *url = [NSURL URLWithString:@"http://www.youtube.com/embed/NhPqn7MuDy0"];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[webView loadRequest:request];

// Safari
NSURL *url = [NSURL URLWithString:@"http://www.youtube.com/embed/NhPqn7MuDy0"];
[[UIApplication sharedApplication] openURL:url];

苹果浏览器 UIWebView

4

1 回答 1

1

Nitro Java script engine is NOT supported for UIWebView.Formatting of webpage and rendering of javascript elements causes difference in displaying same content on UIWebView and Safari(Native Browser).

Sorry, if am NOT correct.

于 2013-03-14T07:20:02.513 回答