Latest 1.0.1
Homepage https://github.com/FelixLinBH/IUpgrade
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

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.

Latest podspec

{
    "name": "IUpgrade",
    "version": "1.0.1",
    "summary": "Notify new version of enterprise app is available.",
    "description": "Notify a new version of your enterprise release iOS app is available.",
    "homepage": "https://github.com/FelixLinBH/IUpgrade",
    "screenshots": "https://raw.githubusercontent.com/FelixLinBH/IUpgrade/master/ScreenShot.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "felix.lin": "[email protected]"
    },
    "source": {
        "git": "https://github.com/FelixLinBH/IUpgrade.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "IUpgrade/Classes/**/*",
    "public_header_files": "IUpgrade/Classes/**/*.h",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This