Checks if there is a newer version of your app in the AppStore and alerts the user to update.
Objective-C Ruby
Latest commit 6373b8c Aug 14, 2016 @emotality committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
ATAppUpdater
Example Fixed issue #3 Nov 12, 2015
.cocoadocs.yml Fixed issue #3 Nov 12, 2015
.gitignore Fixed issue #3 Nov 12, 2015
.travis.yml Fixed issue #3 Nov 12, 2015
ATAppUpdater.podspec Fixed issue #3 Nov 12, 2015
LICENSE.md Fixed issue #3 Nov 12, 2015
README.md Update README.md Aug 14, 2016

README.md

ATAppUpdater 1.7

Checks if there is a newer version of your app in the AppStore and alerts the user to update.

Build Status

Features

  • One line of code
  • Milliseconds response
  • Thread-safe
  • Shows version number in alert
  • Opens app in AppStore from alert
  • Choose not to update now or force user to update
  • Localization supported

Examples

One line:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
   [[ATAppUpdater sharedUpdater] showUpdateWithForce];
   return YES;
}

ATAppUpdater1

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
   [[ATAppUpdater sharedUpdater] showUpdateWithConfirmation];
   return YES;
}

ATAppUpdater2


Custom titles + localization:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
   ATAppUpdater *updater = [ATAppUpdater sharedUpdater];
   [updater setAlertTitle:NSLocalizedString(@"Nuwe Weergawe", @"Alert Title")];
   [updater setAlertMessage:NSLocalizedString(@"Weergawe %@ is beskikbaar op die AppStore.", @"Alert Message")];
   [updater setAlertUpdateButtonTitle:@"Opgradeer"];
   [updater setAlertCancelButtonTitle:@"Nie nou nie"];
   [updater showUpdateWithConfirmation];
   return YES;
}

ATAppUpdater3

Installation

Manual:

  • Copy ATAppUpdater folder into your project
  • Link SystemConfiguration.framework
  • #import "ATAppUpdater.h" in the required class

CocoaPods:

  • Add to podfile: pod 'ATAppUpdater'
  • #import "ATAppUpdater.h" in the required class

License

ATAppUpdater is released under the MIT license. See LICENSE for details.