TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2017 |
Maintained by Hiroshi Hashiguchi.
Task Completion Utility
Setup
#import "LKTaskCompletion.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[LKTaskCompletion.sharedInstance setup];
:
}
When your task has finished
Call endBackgroundTask method.
[LKTaskCompletion.sharedInstance endBackgroundTask];
Etc
If you want to be disable background task, use enabled property.
LKTaskCompletion.sharedInstance.enabled = NO;
Count down in background.
Hiroshi Hashiguchi, [email protected]
The library is available under the MIT license. See the LICENSE file for more info.