简体   繁体   中英

How to convert a normal application icon into a downloading icon on iPhone's SpringBoard?

I'm writing a jailbroken app in iPhone, I'd like to add a updating mechanism for this app and it works like the updating via App Store.

I know that every icon on SpringBoard is a SBApplicationIcon object, while the icon with a progress bar for updating is SBDownloadingIcon object. My problem is that I can not find any method to convert.

If I understand correctly, you want to update apps like it does when via App Store with the Progress Bar on it.

Try using the itms-services ( Wireless ad-hoc distribution ). For that you need to create a simple plist file and the ipa and upload it to a server. It'll help you download the app in the same way App Store does.

I understand since it's for jailbroken filesystem, it's not on the App Store. That's why I'm saying, upload the two files (IPA and PLIST file) to a free web server space, you can get easily.

If you can build an ipa for the app, then follow the link I mentioned above.
If it's a .deb package, then it can't be done that way, AFAIK.

Hope this helps.

If you want to do this, you have to use a itms-services url. Since your code can't make itself writable, you will not be able to change the object from a SBApplicationIcon to a SBDownloadingIcon object (and back again to a SBApplicationIcon so that users can use the app).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM