摘要:
+ (id)defaultNSObjectName{ staticid defaultNSObjectName =nil; staticBOOLtoken=NO; if (!token) { token = YES; defaultNSObjectName = [[NSObject a... 阅读全文
摘要:
- (BOOL)achiveUserHotspotOpening{ return [UIApplication sharedApplication].statusBarFrame.size.height != 20.} 阅读全文
摘要:
- (BOOL)achiveUserLocationStart { CLAuthorizationStatus status = [CLLocationManager authorizationStatus]; if (kCLAuthorizationStatusDenied == status |... 阅读全文
摘要:
if (self.delegate && [self.delegaterespondsToSelector:@selector]) { return YES;} 阅读全文
摘要:
UIPanGestureRecognizer *panGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panIt:)]; // 初始化手势类[view addGestureRecognize... 阅读全文
摘要:
self.tabBarController.selectedIndex = 0; // 默认是0; 阅读全文
摘要:
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:NO]; 阅读全文
摘要:
- (BOOL)achiveStringWithWeb:(NSString *)infor{ NSString *emailRegex = @"[a-zA-z]+://.*"; NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"S... 阅读全文