资源简介
撸大师 “死灰复燃 SDK” V2.0 功能 (附近中包含DEMO、SDK、接入教程)
令 iOS APP 进入后台或手机锁屏下常也能常驻后台活动、定位,即 使杀死 APP 进程也会适时自动复活 APP,让 APP 能够在后台或进程 被杀死之后也能照常发送网络请求、定位、更新数据等操作,具备 自动复活功能!
代码片段和文件信息
//
// AppDelegate.m
// LDSbackground
//
// Created by wuzefang on 2019/1/30.
// Copyright © 2019年 wuzefang. All rights reserved.
//
#import “AppDelegate.h“
#import “LDSmain.h“
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
LDSmain *ldsManager = [LDSmain shareManager];
//开启进程被杀死时自动复活功能
[ldsManager openAutomaticStartup];
//启动后台定位
[ldsManager startBackgroundLocation];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks disable timers and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources save user data invalidate timers and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-02-02 13:32 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\
目录 0 2019-02-01 18:27 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\
目录 0 2019-02-02 13:31 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\
文件 283 2019-02-01 16:54 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\AppDelegate.h
目录 0 2019-02-02 13:34 __MACOSX\
目录 0 2019-02-02 13:34 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\
目录 0 2019-02-02 13:34 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\
目录 0 2019-02-02 13:34 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\
文件 333 2019-02-01 16:54 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\._AppDelegate.h
文件 6148 2019-02-01 18:28 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\.DS_Store
文件 120 2019-02-01 18:28 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\._.DS_Store
文件 429 2019-02-01 16:54 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\LDScellTableViewCell.h
文件 333 2019-02-01 16:54 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\._LDScellTableViewCell.h
目录 0 2019-01-30 17:54 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\Assets.xcassets\
目录 0 2019-01-30 17:54 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\Assets.xcassets\AppIcon.appiconset\
文件 1590 2019-01-30 17:54 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\Assets.xcassets\AppIcon.appiconset\Contents.json
文件 62 2019-01-30 17:54 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\Assets.xcassets\Contents.json
目录 0 2019-02-02 13:34 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\Assets.xcassets\
文件 171 2019-01-30 17:54 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\Assets.xcassets\._Contents.json
文件 2660 2019-02-01 16:54 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\ViewController.m
文件 176 2019-02-01 16:54 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\._ViewController.m
目录 0 2019-01-30 18:14 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\ba
文件 1801 2019-01-30 18:14 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\ba
目录 0 2019-02-02 13:34 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\ba
文件 333 2019-01-30 18:14 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\ba
文件 1724 2019-01-30 18:14 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\ba
文件 333 2019-01-30 18:14 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\ba
文件 4780 2019-02-02 10:30 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\LDScellTableViewCell.xib
文件 333 2019-02-02 10:30 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\._LDScellTableViewCell.xib
文件 340 2019-02-01 16:54 demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\main.m
文件 333 2019-02-01 16:54 __MACOSX\demo_iOS甯搁┗鍚庡彴鑷姩澶嶆椿杩涚▼\LDSbackground\LDSbackground\._main.m
............此处省略53个文件信息
- 上一篇:微信红包.xmind
- 下一篇:3D游戏编程大师技巧完整版+完整书签
评论
共有 条评论