摘要:
1、实例代码 CLAuthorizationStatus status = [CLLocationManager authorizationStatus]; switch (status) { // 还没有做决定 case kCLAuthorizationStatusNotDetermined: { 阅读全文
摘要:
1、UIApplicationState 枚举判断应用的状态 typedef NS_ENUM(NSInteger, UIApplicationState) { UIApplicationStateActive, // 应用处于活跃状态 UIApplicationStateInactive, // 应 阅读全文