Notify a new version of your enterprise release iOS app is available.
Objective-C Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
IUpgrade
.gitignore
.travis.yml
IUpgrade.podspec
LICENSE
README.md
ScreenShot.png
_Pods.xcodeproj

README.md

IUpgrade

Version License Platform

Notify new version of enterprise app is available.

It provides:

  • Update mode ( Normal / Forec / Skip )
  • Customization alert message

How To Use

Set Plist URL

[[IUpgrade sharedInstance]setPlistUrlString:@"https://xxx.plist"];

Set Type

// Normal.
[[IUpgrade sharedInstance]setType:IUpgradeDefault];
// Forec upgrade,it will swizzling appdelegate applicationWillEnterForeground.
[[IUpgrade sharedInstance]setType:IUpgradeForec];
// User can choose skip the version.
[[IUpgrade sharedInstance]setType:IUpgradeSkip];

Set Message

####Properties####

@property (nonatomic) NSString *alertTitle;
@property (nonatomic) NSString *prefixMessage;
@property (nonatomic) NSString *suffixMessage;

####Method####

[[IUpgrade sharedInstance]setAlertTitle:@"Title" prefixMessage:@"prefix" suffixMessage:@"suffix"];

It will show message that "prefix version suffix".

Check version

After main view makeKeyAndVisible.

[[IUpgrade sharedInstance]checkVersion];

Screen shot

Editor preferences pane

Installation

IUpgrade is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "IUpgrade"

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Author

Felix.lin

License

IUpgrade is available under the MIT license. See the LICENSE file for more info.