任何人都知道是否存在某种方法来检查是否存在App Store上的可用更新?
我想通知用户我的应用程序上的新更新开始...
谢谢
- (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;
在json响应中,"info"
字段是您想要的,您可以免费更新它!
[您也可以在推送更新时使用自己的通知消息,而不是使用自动检查(Binpress上提供,从此发布起也是免费的)]
http://www.binpress.com/c/662/6592
注意:我与Binpress OP没有任何关系,也没有收到Binpress OP的付款/补偿的信息>