检查更新可用的App Store

问题描述 投票:11回答:5

任何人都知道是否存在某种方法来检查是否存在App Store上的可用更新?

我想通知用户我的应用程序上的新更新开始...

谢谢

objective-c ios4 xcode4 app-store
5个回答
1
投票
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[ATAppUpdater sharedUpdater] showUpdateWithConfirmation]; // 1 line of code /////////////////////// OR /////////////////////// [[ATAppUpdater sharedUpdater] showUpdateWithForce]; // 1 line of code return YES; }

代理方法:

- (void)appUpdaterDidShowUpdateDialog;
- (void)appUpdaterUserDidLaunchAppStore;
- (void)appUpdaterUserDidCancel;

62
投票
例如https://itunes.apple.com/lookup?id=441252681

在json响应中,"info"字段是您想要的,您可以免费更新它!

See the official documentation here.


2
投票
http://www.binpress.com/c/615/6592

[您也可以在推送更新时使用自己的通知消息,而不是使用自动检查(Binpress上提供,从此发布起也是免费的)]

http://www.binpress.com/c/662/6592

注意:我与Binpress OP没有任何关系,也没有收到Binpress OP的付款/补偿的信息>


0
投票

0
投票
© www.soinside.com 2019 - 2024. All rights reserved.