Skip to content

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

License

Notifications You must be signed in to change notification settings

userow/ATAppUpdater

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATAppUpdater 1.2

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

Features

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

Examples

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

alt tag

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

alt tag

Installation

Manual:

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

CocoaPods:

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

Credits

License

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Objective-C 96.4%
  • Ruby 3.6%