• <td id="gpzbx"></td>

    <acronym id="gpzbx"></acronym>
    <delect id="gpzbx"></delect>
  • <var id="gpzbx"><strong id="gpzbx"><div id="gpzbx"></div></strong></var>

    1. 咨詢郵箱?咨詢郵箱:mail@yaanidc.com 咨詢熱線?咨詢熱線:13795856919 微博 微信
      IOS在線安裝ipa文件,如何在線安裝解決辦法附代碼
      發表日期:2019-04-21 ?? 文章編輯:陳博 ?? 瀏覽次數: 最后,我變成了自己討厭的樣子
      主要思路:通過 itms:services://? 在線安裝ipa ,跨過app-store

      通過 itms:services://? 在線安裝ipa ,跨過app-store

      1.需要一個html文件,引導下載用戶在線安裝ipa

       

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      <html>
        <head>
          <title>一鍵安裝掌上綜調iPhone版</title>
        </head>
        
        <body>
              <a href='itms-services://?action=download-manifest&url=http://www.claxtonsolarshading.com/ios/d.plist'>一鍵安裝掌上綜調iPhone版</a>
        </body>
      </html>

       

       

      2. 上文中的d.plist文件內容如下,其實它是一個XML文件,有關plist文件,請自行查閱google

       

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
         <key>items</key>
         <array>
             <dict>
                 <key>assets</key>
                 <array>
                     <dict>
                         <key>kind</key>
                         <string>software-package</string>
                         <key>url</key>
                         <string>URL地址</string>
                     </dict>
                     <dict>
                         <key>kind</key>
                         <string>display-image</string>
                         <key>needs-shine</key>
                         <true/>
                         <key>url</key>
                         <string>http://www.claxtonsolarshading.com/ios/icon.png</string>
                     </dict>
                     <dict>
                         <key>kind</key>
                         <string>full-size-image</string>
                         <key>needs-shine</key>
                         <true/>
                         <key>url</key>
                         <string>http://www.claxtonsolarshading.com/ios/icon.png</string>
                     </dict>
                 </array><key>metadata</key>
                 <dict>
                     <key>bundle-identifier</key>
                     <string>com.ccssoft.mopclient.chongqing</string>
                     <key>bundle-version</key>
                     <string>1.0.0</string>
                     <key>kind</key>
                     <string>software</string>
                     <key>subtitle</key>
                     <string>應用名稱</string>
                     <key>title</key>
                     <string>應用名稱</string>
                 </dict>
             </dict>
         </array>
      </dict>
      </plist>

       

      上面2中的http://www.claxtonsolarshading.com/download?attachId=022DB5EAF88A57B175D24060DCD1BA70 這是ipa包所在的網絡地址

       

      3.自行找一個icon.png放在上面兩個文件的同一個目錄,此圖片用作在iphone上顯示程序圖標。 http://www.claxtonsolarshading.com/ios/icon.png

       

      4.使用iphone safari瀏覽器,瀏覽http://www.claxtonsolarshading.com/ios/d.html文件,即可安裝了。
      如果提示報錯 請檢查mime是否正確設置:

      類型 擴展名 mime 錯誤做法
      安卓安裝包 .apk    application/vnd.android.package-archive                         application/vnd.android
      蘋果安裝包 .ipa     application/octet-stream.ipa application/vnd.iphone
      蘋果在線安裝配置文件 .plist application/xml /
       


      相關文章推薦
      在線客服
      欧洲性开放大片美女大片
    2. <td id="gpzbx"></td>

      <acronym id="gpzbx"></acronym>
      <delect id="gpzbx"></delect>
    3. <var id="gpzbx"><strong id="gpzbx"><div id="gpzbx"></div></strong></var>