PageSourceSearch

https://dijkst.github.io/blog/2014/01/16/zai-ios6-xi-tong-de-ipad-…-bei-zhong-da-kai-appstore-xia-zai-ye-mian/

html dijkst.github.io collected 2026-10-03 09:00:11 UTC 13,962 bytes, 385 lines download raw bytes

1
2<!DOCTYPE html>
3<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
4<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
5<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
6<head>
7  <meta charset="utf-8">
8  <title>在 iOS6 系统的 iPad 设备中打开 AppStore 下载页面 - 第九块石头</title>
9  <meta name="author" content="dijkst">
10
11  
12  <meta name="description" content="以前做 iPhone 的开发时,经常需要做一个功能,例如“更新 App”,点击之后跳转到 AppStore 的下载页面,然而,今天发现了一个问题: 我的跳转地址是 itms-apps://itunes.apple.com/app/id438865278?mt=8,这个地址是服务器返回的, &hellip;">
13  
14
15  <!-- http://t.co/dKP3o1e -->
16  <meta name="HandheldFriendly" content="True">
17  <meta name="MobileOptimized" content="320">
18  <meta name="viewport" content="width=device-width, initial-scale=1">
19
20  
21  <link rel="canonical" href="http://dijkst.github.io/blog/2014/01/16/zai-ios6-xi-tong-de-ipad-she-bei-zhong-da-kai-appstore-xia-zai-ye-mian">
22  <link href="/favicon.png" rel="icon">
23  <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
24  <link href="/atom.xml" rel="alternate" title="第九块石头" type="application/atom+xml">
25  
25<script src="/javascripts/modernizr-2.0.js"></script>
25
26  <!--
26<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
26-->
27  
27<script>!window.jQuery && document.write(unescape('%3Cscript src="/javascripts/libs/jquery.min.js"%3E%3C/script%3E'))</script>
27
28  
28<script src="/javascripts/octopress.js" type="text/javascript"></script>
28
29  <!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
30<!--<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
31<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
32-->
33<link href="/stylesheets/google-fonts.css" rel="stylesheet" type="text/css">
34
35  
36  
36<script type="text/javascript">
37    var _gaq = _gaq || [];
38    _gaq.push(['_setAccount', 'UA-39546615-2']);
39    _gaq.push(['_trackPageview']);
40
41    (function() {
42      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
43      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
44      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
45    })();
46  </script>
46
47
48
49</head>
50
51<body   >
52  <header role="banner"><hgroup>
53  <h1><a href="/">第九块石头</a></h1>
54  
55</hgroup>
56
57</header>
58  <nav role="navigation"><ul class="subscription" data-subscription="rss">
59  <li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
60  
61</ul>
62  
63<form action="https://www.google.com/search" method="get">
64  <fieldset role="search">
65    <input type="hidden" name="q" value="site:dijkst.github.io" />
66    <input class="search" type="text" name="q" results="0" placeholder="Search"/>
67  </fieldset>
68</form>
69  
70<ul class="main-navigation">
71  <li><a href="/">Blog</a></li>
72  <li><a href="/blog/archives">Archives</a></li>
73</ul>
74
75</nav>
76  <div id="main">
77    <div id="content">
78      <div>
79<article class="hentry" role="article">
80  
81  <header>
82    
83      <h1 class="entry-title">在 iOS6 系统的 iPad 设备中打开 AppStore 下载页面</h1>
84    
85    
86      <p class="meta">
87        
88
89
90
91
92
93
94
95
96  
97
98
99<time datetime="2014-01-16T14:58:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-01-16T14:58:00+08:00'><span class='date'>2014/01/16</span> <span class='time'>14:58</span></time></time>
100        
101         | <a href="#disqus_thread">Comments</a>
102        
103      </p>
104    
105  </header>
106
107
108<div class="entry-content"><p>以前做 iPhone 的开发时,经常需要做一个功能,例如“更新 App”,点击之后跳转到 AppStore 的下载页面,然而,今天发现了一个问题:</p>
109
110<p>我的跳转地址是 <code>itms-apps://itunes.apple.com/app/id438865278?mt=8</code>,这个地址是服务器返回的,我以前也是这么写的,应该没有问题。</p>
111
112<p>测试的妹子说,在 iOS6 上面,该地址只能打开 AppStore 的首页,不能进入下载页面,在 iOS5 和 iOS7 中都正常,iOS6 所有设备均失败(iPad3、4、mini 等等)。</p>
113
114<p>我尝试在 Safari 中输入该地址,发现也确实无法让 AppStore 进入下载界面。</p>
115
116<p>在 iPhone 的 iOS6 中,正常。</p>
117
118<p>因此估计是 iPad 的问题,上网搜了一下,发现这个问题是普遍存在的 —— 只在 iOS6 的 iPad 设备中出现!</p>
119
120<!-- more -->
121
122
123<p>参考地址: <a href="https://discussions.apple.com/thread/4420524?tstart=0">https://discussions.apple.com/thread/4420524?tstart=0</a></p>
124
125<p><code>It apparently works with https, but http and itms-apps fail.</code></p>
126
127<p>将 <code>itms-apps</code> 替换为 <code>https</code> 即可正常。</p>
128
129<p>最后经过测试,使用 <code>https</code> 在 iPhone、iPad 上均可正常使用,不会跳转 Safari,完全不需要使用 <code>itms-apps</code>!</p>
130</div>
131
132
133  <footer>
134    <p class="meta">
135      
136  
137
138<span class="byline author vcard">Posted by <span class="fn">dijkst</span></span>
139
140      
141
142
143
144
145
146
147
148
149  
150
151
152<time datetime="2014-01-16T14:58:00+08:00" pubdate data-updated="true"><time class='entry-date' datetime='2014-01-16T14:58:00+08:00'><span class='date'>2014/01/16</span> <span class='time'>14:58</span></time></time>
153      
154
155<span class="categories">
156  
157    <a class='category' href='/blog/categories/ios/'>ios</a>
158  
159</span>
160
161
162    </p>
163    
164      <div class="sharing">
165  
166  
167  
168</div>
169
170    
171    <p class="meta">
172      
173        <a class="basic-alignment left" href="/blog/2013/12/07/octopresszai-zshxia-wu-fa-xin-jian-bo-ke-de-wen-ti/" title="Previous Post: Octopress在zsh下无法新建博客的问题">&laquo; Octopress在zsh下无法新建博客的问题</a>
174      
175      
176        <a class="basic-alignment right" href="/blog/2014/02/10/git-tong-bu-yuan-cheng-tags/" title="Next Post: Git 同步远程 Tags">Git 同步远程 Tags &raquo;</a>
177      
178    </p>
179  </footer>
180</article>
181
182  <section>
183    <h1>Comments</h1>
184    <div id="comment_thread"></div>
185<link rel="stylesheet" href="/stylesheets/gitment/default.css">
186<script src="/javascripts/gitment/gitment.browser.js"></script>
vendor: 1 bytes, line 186
186
187<script>
188var gitment = new Gitment({
189  owner: 'dijkst',
190  repo: 'dijkst.github.com',
191  oauth: {
192    client_id: 'ef6ee073162a12e7362f',
193    client_secret: 'f6c454aad6218c8a857216260a6091f92f638af4',
194  },
195})
196gitment.render('comment_thread')
197</script>
197
198
199  </section>
200
201</div>
202
203<aside class="sidebar">
204  
205    <section>
206  <h1>Recent Posts</h1>
207  <ul id="recent_posts">
208    
209      <li class="post">
210        <a href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.en/">BlueLock Release v1.0.6</a>
211      </li>
212    
213      <li class="post">
214        <a href="/blog/2015/02/14/bluelock-release-v1-dot-0-3.cn/">BlueLock Release v1.0.6</a>
215      </li>
216    
217      <li class="post">
218        <a href="/blog/2014/09/29/rang-xcode-zeng-jia-duo-sdk-zhi-chi/">让 Xcode 增加多 SDK 支持</a>
219      </li>
220    
221      <li class="post">
222        <a href="/blog/2014/06/25/zai-qi-ta-dian-nao-shang-liu-lan-time-machine-li-shi/">在其他电脑上浏览 Time Machine 历史</a>
223      </li>
224    
225      <li class="post">
226        <a href="/blog/2014/05/30/sourcetree-zhong-lian-jie-zhu-shi-zhong-de-issue-id-dao-kelude/">SourceTree 中链接注释中的 issue id 到Kelude</a>
227      </li>
228    
229  </ul>
230</section>
231<section>
232  <h1>Categories</h1>
233    <ul id="category-list"><li><a href='/blog/categories/bash/'>bash (3)</a></li><li><a href='/blog/categories/git/'>git (2)</a></li><li><a href='/blog/categories/ios/'>ios (29)</a></li><li><a href='/blog/categories/linux/'>linux (3)</a></li><li><a href='/blog/categories/mac/'>mac (3)</a></li><li><a href='/blog/categories/octopress/'>octopress (1)</a></li><li><a href='/blog/categories/osx/'>osx (7)</a></li><li><a href='/blog/categories/ruby/'>ruby (2)</a></li><li><a href='/blog/categories/sqlite/'>sqlite (2)</a></li><li><a href='/blog/categories/windows/'>windows (2)</a></li><li><a href='/blog/categories/xcode/'>xcode (1)</a></li><li><a href='/blog/categories/sheng-huo-sui-bi/'>生活随笔 (1)</a></li><li><a href='/blog/categories/suan-fa/'>算法 (1)</a></li><li><a href='/blog/categories/jie-jue-wen-ti/'>解决问题 (1)</a></li></ul>
234</section>
235<section>
236  <h1>My iOS Apps</h1>
237    <ul id="appstore-apps"><style type="text/css">
238.flip-container, .front, .back {
239	width: 120px;
240	height: 120px;
241}
242.flip-container {
243  -webkit-perspective: 1000;
244	-moz-perspective: 1000;
245	perspective: 1000;
246}
247.flip-container:hover .flipper, .flip-container.hover .flipper {
248	-webkit-transform: rotateY(180deg);
249  -moz-transform: rotateY(180deg);
250  transform: rotateY(180deg);
251}
252.flipper {
253  -webkit-transition: 0.6s;
254	-webkit-transform-style: preserve-3d;
255
256	-moz-transition: 0.6s;
257	-moz-transform-style: preserve-3d;
258	transition: 0.6s;
259	transform-style: preserve-3d;
260
261	position: relative;
262}
263.front, .back {
264  -webkit-backface-visibility: hidden;
265	-moz-backface-visibility: hidden;
266	backface-visibility: hidden;
267
268	position: absolute;
269	top: 0;
270	left: 0;
271}
272.front {
273	z-index: 2;
274}
275.back {
276  z-index: 20;
277	transform: rotateY(180deg);
278	-webkit-transform: rotateY(180deg);
279	-moz-transform: rotateY(180deg);
280}
281</style>
282
283<li>
284<div align='center'>
285<div class="flip-container" ontouchstart='this.classList.toggle('hover');' style='margin-bottom: 10px'>
286<div class="flipper" style='text-align: center' align='center'>
287<div class='front'>
288<a class='com-sidetrip-wikish' href='https://itunes.apple.com/cn/app/duckipedia-wikipedia-reader/id626825945?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
289  <img id='img_com-sidetrip-wikish' src='http://a1863.phobos.apple.com/us/r30/Purple2/v4/55/7d/c0/557dc03e-cd9c-ac75-e2a7-78242ea50c79/mzl.vpfmgtuy.png' class='com-sidetrip-wikish' style='width:120px; height:120px; border: 0em; border-radius:22px' />
290</a>
291</div>
292<div class='back'>
293<a class='com-sidetrip-wikish' href='https://itunes.apple.com/cn/app/duckipedia-wikipedia-reader/id626825945?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
294  <img id='img_com-sidetrip-wikish_qr' src='https://api.qrserver.com/v1/create-qr-code/?size=120x120&margin=10&color=165B94&data=https://itunes.apple.com/cn/app/duckipedia-wikipedia-reader/id626825945?mt=8&uo=4' class='com-sidetrip-wikish' style='width:120px; height:120px; border: 0em; border-radius:22px' />
295</a>
296</div>
297</div>
298</div>
299<div>
300<p style='text-align: center'>
301Duckipedia - A Wikipedia Reader
302</p>
303</div>
304</div>
305</li>
306
307<li>
308<div align='center'>
309<div class="flip-container" ontouchstart='this.classList.toggle('hover');' style='margin-bottom: 10px'>
310<div class="flipper" style='text-align: center' align='center'>
311<div class='front'>
312<a class='com-jamesmyg-cinderellacocohd' href='https://itunes.apple.com/cn/app/mo-fa-hui-gu-niang/id632544908?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
313  <img id='img_com-jamesmyg-cinderellacocohd' src='http://a153.phobos.apple.com/us/r30/Purple2/v4/28/4f/82/284f823d-1ec5-d58c-e231-a39157e279f7/mzl.zlpotobi.png' class='com-jamesmyg-cinderellacocohd' style='width:120px; height:120px; border: 0em; border-radius:22px' />
314</a>
315</div>
316<div class='back'>
317<a class='com-jamesmyg-cinderellacocohd' href='https://itunes.apple.com/cn/app/mo-fa-hui-gu-niang/id632544908?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
318  <img id='img_com-jamesmyg-cinderellacocohd_qr' src='https://api.qrserver.com/v1/create-qr-code/?size=120x120&margin=10&color=165B94&data=https://itunes.apple.com/cn/app/mo-fa-hui-gu-niang/id632544908?mt=8&uo=4' class='com-jamesmyg-cinderellacocohd' style='width:120px; height:120px; border: 0em; border-radius:22px' />
319</a>
320</div>
321</div>
322</div>
323<div>
324<p style='text-align: center'>
325魔法灰姑娘
326</p>
327</div>
328</div>
329</li>
330
331<li>
332<div align='center'>
333<div class="flip-container" ontouchstart='this.classList.toggle('hover');' style='margin-bottom: 10px'>
334<div class="flipper" style='text-align: center' align='center'>
335<div class='front'>
336<a class='com-luobo-blelock' href='https://itunes.apple.com/cn/app/bluelock/id958057367?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
337  <img id='img_com-luobo-blelock' src='http://a342.phobos.apple.com/us/r30/Purple3/v4/cc/4c/de/cc4cdeb5-e5dd-29c8-da7c-1e15546dcf75/pr_source.png?downloadKey=1427026158_211df2f3c3768658ecb556b3a3f59514' class='com-luobo-blelock' style='width:120px; height:120px; border: 0em; border-radius:22px' />
338</a>
339</div>
340<div class='back'>
341<a class='com-luobo-blelock' href='https://itunes.apple.com/cn/app/bluelock/id958057367?mt=8&uo=4' style='text-decoration: none !important; white-space: normal' target='_blank'>
342  <img id='img_com-luobo-blelock_qr' src='https://api.qrserver.com/v1/create-qr-code/?size=120x120&margin=10&color=165B94&data=https://itunes.apple.com/cn/app/bluelock/id958057367?mt=8&uo=4' class='com-luobo-blelock' style='width:120px; height:120px; border: 0em; border-radius:22px' />
343</a>
344</div>
345</div>
346</div>
347<div>
348<p style='text-align: center'>
349BlueLock
350</p>
351</div>
352</div>
353</li>
354</ul>
355</section>
356<section>
357  <h1>My Friends</h1>
358    <ul id="category-list">
359    	<li><a href="http://www.doruby.com">Square</a> <small>ruby & objc</small></li>
360    	<li><a href="http://manageyp.github.io">Henry</a> <small>You can do well, you must do well.</small></li>
361	</ul>
362</section>
363
364  
365</aside>
366
367
368    </div>
369  </div>
370  <footer role="contentinfo"><p>
371  Copyright &copy; 2018 - dijkst -
372  <span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
373</p>
374
375</footer>
376  
377
378
379
380
381
382
383
384</body>
385</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.