html文件
<DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ledemon</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
</head>
<body>
<a href="itms-services://?action=download-manifest&url=https://rainingway.com/manifest.plist">点击开始安装App</a>
</body>
</html>
manifest.plist文件
<?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>THE URL FOR YOUR IPA: ex: http://go.com/appname.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>THE URL FOR INSTALLATION @2x ICON: ex: http://go.com/Icon@2x.png</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>THE URL FOR INSTALLATION ICON: ex: http://go.com/Icon.png</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>YOUR BUNDLE ID (Take it from your Xcode Project)</string>
<key>bundle-version</key>
<string>1.2.3 Your app version</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>The Title To Present To The User installing the app</string>
</dict>
</dict>
</array>
</dict>
</plist>
网友评论