简体   繁体   中英

How can I make a Mac App Store app check for updates?

Within my app, how can I make it check if there is an update available in the Mac App Store, and tell the user about this?

As an example, Sparrow does this.

Charcoal Design has an open source component that does that: iVersion. But it requires you to add a file in your server for your application to read. Whenever you update the version, just change the information in your server, and iVersion will show the user that a new version is available.

You could also scrape Apple's servers to read the version of your app, but there is chance that your app may be rejected for doing that.

Basically, Sparrow does not need to ask the App Store. It can just compare its bundle string to the newest version on their website.

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