Detecting iPhone app version update?

前端 未结 3 529
没有蜡笔的小新
没有蜡笔的小新 2020-12-21 16:53

I\'d like to determine when new versions of my app are available on the Appstore and display some form of notification to the user when this happens - perhaps a UIAlertView

相关标签:
3条回答
  • 2020-12-21 17:07

    You could create your own out-of-band data based on RSS, like the Sparkle framework based on Mac. You'd need to maintain that feed yourself of course - any time an update is accepted, you would publish a new article to the feed.

    0 讨论(0)
  • 2020-12-21 17:12

    Little late to help original question, but figured might still be useful.

    iVersion is an SDK which queries App Store API directly from app.

    HockeyKit, Krooshal, CleverStork offer SDK and web service which monitor App Store.

    0 讨论(0)
  • 2020-12-21 17:25

    I don't think that there is a prefabricated framework for that kind of issue. At least I couldn't find one when i was dealing with that topic.

    What I did was fairly easy (provided that you have access to any kind of webserver where you're able to upload files)

    I simply created a text file with two things in it.

    1) the version number of the most up to date version available 2) a text that is being displayed to the user (in case his version is out of date)

    on startup (actually I do it on every 3th startup and not more than once per day) i download the txt file, read the first line, extract the version, compare it to the current version of the app that is running on the users divice. if the version is out of date i then read the second line out of the text file and display it in an UIAlertView.

    I hope I could help
    *sam

    0 讨论(0)
提交回复
热议问题