摘要:
+ (id)defaultNSObjectName{ staticid defaultNSObjectName =nil; staticBOOLtoken=NO; if (!token) { token = YES; defaultNSObjectName = [[NSObject a... 阅读全文
posted @ 2015-06-05 16:40
D-Ben
阅读(148)
评论(0)
推荐(0)
摘要:
- (BOOL)achiveUserHotspotOpening{ return [UIApplication sharedApplication].statusBarFrame.size.height != 20.} 阅读全文
posted @ 2015-06-05 16:24
D-Ben
阅读(688)
评论(0)
推荐(0)
摘要:
- (BOOL)achiveUserLocationStart { CLAuthorizationStatus status = [CLLocationManager authorizationStatus]; if (kCLAuthorizationStatusDenied == status |... 阅读全文
posted @ 2015-06-05 16:17
D-Ben
阅读(695)
评论(0)
推荐(0)
摘要:
if (self.delegate && [self.delegaterespondsToSelector:@selector]) { return YES;} 阅读全文
posted @ 2015-06-05 15:39
D-Ben
阅读(829)
评论(0)
推荐(0)
摘要:
UIPanGestureRecognizer *panGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panIt:)]; // 初始化手势类[view addGestureRecognize... 阅读全文
posted @ 2015-06-05 14:37
D-Ben
阅读(294)
评论(0)
推荐(0)
摘要:
self.tabBarController.selectedIndex = 0; // 默认是0; 阅读全文
posted @ 2015-06-05 10:39
D-Ben
阅读(932)
评论(0)
推荐(0)
摘要:
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault animated:NO]; 阅读全文
posted @ 2015-06-05 10:33
D-Ben
阅读(135)
评论(0)
推荐(0)
摘要:
- (BOOL)achiveStringWithWeb:(NSString *)infor{ NSString *emailRegex = @"[a-zA-z]+://.*"; NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"S... 阅读全文
posted @ 2015-06-05 10:24
D-Ben
阅读(193)
评论(0)
推荐(0)
浙公网安备 33010602011771号