摘要: 1、实例代码 CLAuthorizationStatus status = [CLLocationManager authorizationStatus]; switch (status) { // 还没有做决定 case kCLAuthorizationStatusNotDetermined: { 阅读全文
posted @ 2021-11-15 17:41 CH520 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1、UIApplicationState 枚举判断应用的状态 typedef NS_ENUM(NSInteger, UIApplicationState) { UIApplicationStateActive, // 应用处于活跃状态 UIApplicationStateInactive, // 应 阅读全文
posted @ 2021-11-15 17:30 CH520 阅读(291) 评论(0) 推荐(0) 编辑