Ios 如何在UIWebVIew上加载iTunes网页
如何在Ios 如何在UIWebVIew上加载iTunes网页,ios,uiwebview,itunes,nsuserdefaults,user-agent,Ios,Uiwebview,Itunes,Nsuserdefaults,User Agent,如何在UIWebview上加载iTunes我搜索了这个,得到了它的答案,但它不起作用 [[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithObject:@"some old phone or other" forKey:@"UserAgent"]]; 它仍然在打开iTunes应用程序,在上面的代码行中,这是什么UserAgent。。?我还搜索了UserAgent,但没有找到Us
UIWebview
上加载iTunes我搜索了这个,得到了它的答案,但它不起作用
[[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithObject:@"some old phone or other" forKey:@"UserAgent"]];
它仍然在打开iTunes应用程序,在上面的代码行中,这是什么UserAgent
。。?我还搜索了UserAgent
,但没有找到UserAgent
键以及为什么要为NSUserDefaults
注册此键。要为keyUserAgent
设置的值是多少。。?,。。或者建议打开iTunes应用程序上的iTunes链接,,,?有人做过这个吗?你能帮我怎么做吗
我将此应用程序用于iPad应用程序和@iPatel感谢链接,其中第一个链接是关于如何将iTunes与应用程序链接,第二个链接是关于阻止或禁止打开iTunes应用程序,我只想在UIWebview上加载iTunes网页