如何检测我的iOS应用程序是否有更新的版本? [重复]

时间:2022-04-25 06:30:28

This question already has an answer here:

这个问题在这里已有答案:

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?

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

1 个解决方案

#1


10  

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.

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

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.)

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

#1


10  

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.

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

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.)

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