YQUpdateHelper 0.1.1

YQUpdateHelper 0.1.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total103
Week0
Month0

Installs

Apps4
powered by Segment

GitHub

Stars5
Watchers1
Forks0
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 192



  • By
  • billwang1990

YQUpdateHelper will post a local notification if there is a new version of your app!

How to use it?

I strongly recommend you use cocoapods to install:

pod 'YQUpdateHelper', '~> 0.1.0'

It's really simple to use it, you should add several lines code in

- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions:{

    [YQUpdateHelper singleton].checkInterval = YQCheckDayly;
    [YQUpdateHelper singleton].appName = @"Test demo";
    [[YQUpdateHelper singleton]setAppID:@"your app id"];

}

And you also should one line code in

- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification{

[[YQUpdateHelper singleton] shouldHandleNotification:notification];

}

Have fun!