2015年3月5日

获取网络状态,区分2G3G4GWIFI等,非reachability

摘要: +(NSString *)getNetWorkStates{ UIApplication *app = [UIApplication sharedApplication]; NSArray *children = [[[app valueForKeyPath:@"statusBar"]valueFo... 阅读全文

posted @ 2015-03-05 16:29 奋进的闹钟 阅读(159) 评论(0) 推荐(0)

点击 View 空白释放键盘

摘要: 在view上添加一个UITapGestureRecognizer- (void)viewDidLoad{[super viewDidLoad];UITapGestureRecognizer *tapGr = [[UITapGestureRecognizer alloc] initWithTarget... 阅读全文

posted @ 2015-03-05 16:28 奋进的闹钟 阅读(196) 评论(0) 推荐(0)

处理把BOOL值存入NSMutableDictionary,从NSMutableDictionary中取出BOOL值

摘要: 将一个BOOL值插入到NSMutableDictionary中,把BOOL值从NSMutableDictionary中取得出来的用法:项目要讲BOOL类型的值插入到一个NSMutableDictionary。首先将 BOOL 包装到NSNumber中:NSNumber*boolNumber=[NS... 阅读全文

posted @ 2015-03-05 13:53 奋进的闹钟 阅读(223) 评论(0) 推荐(0)

导航