Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 如何在UIWebVIew上加载iTunes网页_Ios_Uiwebview_Itunes_Nsuserdefaults_User Agent - Fatal编程技术网

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
注册此键。要为key
UserAgent
设置的值是多少。。?,。。或者建议打开iTunes应用程序上的iTunes链接,,,?有人做过这个吗?你能帮我怎么做吗


我将此应用程序用于iPad应用程序

和@iPatel感谢链接,其中第一个链接是关于如何将iTunes与应用程序链接,第二个链接是关于阻止或禁止打开iTunes应用程序,我只想在UIWebview上加载iTunes网页