Just use ATAppUpdater , it is 1 line, thread safe and fast. It also has delegation methods if you want to track user activity. Here is an example:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[ATAppUpdater sharedUpdater] showUpdateWithConfirmation]; // 1 line of code /////////////////////// OR /////////////////////// [[ATAppUpdater sharedUpdater] showUpdateWithForce]; // 1 line of code return YES; }
Delegate Methods:
- (void)appUpdaterDidShowUpdateDialog; - (void)appUpdaterUserDidLaunchAppStore; - (void)appUpdaterUserDidCancel;
emotality May 16 '17 at 7:49 2017-05-16 07:49
source share