当有新版本的 iOS 应用程序可用时发出警报
是否有一个开源库可以在有新版本可供下载时显示应用内警报?推送通知也将是一个优点。
Is there an open source library out there for presenting an in-app alert when a new version is available to download? Push notification would be a plus also.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
iVersion 听起来正是您正在寻找的东西。它的工作原理类似于 Mac OSX 上的 Sparkle,它会查阅您网站上的远程文件,一旦 Apple 批准您的应用程序,您就可以在其中更改版本号,并在用户的版本低于您服务器上指定的版本时向用户显示提示。
iVersion sounds like the exact thing you are looking for. It works similar to Sparkle on Mac OSX where it consults a remote file on your website where you can bump the version number once Apple approves your app and shows a prompt to the user if their version is lower than the one specified on your server.
这是另一个 https://github.com/jacobsologub/appdate,它只是调用 Apple 的搜索 API 来检查给定的应用程序是否“你的应用程序”有更新。
Here's another one https://github.com/jacobsologub/appdate, it just calls Apple's search API to check if a given app "you app" has an update.