如何检测我的iOS应用程序是否有更新的版本? [英] How to detect whether there's a newer version of my iOS application?

查看:236
本文介绍了如何检测我的iOS应用程序是否有更新的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果iTunes提供新版本,我想在我的iOS应用中提供提醒。我找不到这个API。这可能吗?

I would like to provide an alert within my iOS app if there is a new version available from iTunes. I can't find an API for this. Is this possible?

推荐答案

有一个很好的论据,你不需要做任何事情。 App Store应用程序在更新可用时已经通知用户。

There's a good argument that you don't need to do anything. The App Store app will already notify users when updates are available.

但是,如果你想要这样做,GitHub上有一个名为 iVersion 为您完成大部分繁重任务。 (我自己没试过,但看起来还不错。)

However, if you want to do it anyway, there's a project on GitHub called iVersion that does most of the heavy lifting for you. (Not tried it myself, but it looks pretty good.)

这篇关于如何检测我的iOS应用程序是否有更新的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆