上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 1、先设置系统导航卡全透明 self.navigationController.navigationBar.translucent = YES; self.navigationController.navigationBar.titleTextAttributes = @{NSForegrou... 阅读全文
posted @ 2016-01-19 12:13 在bug中前行 阅读(890) 评论(0) 推荐(0) 编辑
摘要: 在这个方法里面处理获取的远程推送消息- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void ... 阅读全文
posted @ 2016-01-19 12:08 在bug中前行 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1、自定义searchBar: (1).h:#import @interface EMSearchBar : UISearchBar/** * 自定义控件自带的取消按钮的文字(默认为“取消”/“Cancel”) * * @param title 自定义文字 */- (void)setCance... 阅读全文
posted @ 2015-08-03 12:06 在bug中前行 阅读(279) 评论(0) 推荐(0) 编辑
摘要: NSString * content = resultDic[@"content"][0]; NSRegularExpression *regularExpretion=[NSRegularExpression regularExpressionWithPattern:... 阅读全文
posted @ 2015-07-17 18:45 在bug中前行 阅读(210) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/u/1418722/blog/318751 阅读全文
posted @ 2015-05-28 18:48 在bug中前行 阅读(95) 评论(0) 推荐(0) 编辑
摘要: birthDate = [[UIDatePicker alloc] initWithFrame:CGRectMake(0,500/2,self.view.frame.size.width, 88/2)]; birthDate.datePickerMode = UIDateP... 阅读全文
posted @ 2015-05-28 18:46 在bug中前行 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1、导入头文件:#import 2、遵循代理:CLLocationManagerDelegate3、初始化变量:CLLocationManager *_locationManager; CLGeocoder *_geocoder;4、实现代码:-(void)viewWillApp... 阅读全文
posted @ 2015-05-28 18:32 在bug中前行 阅读(269) 评论(0) 推荐(1) 编辑
摘要: NSString * priceString = [dict objectForKey:@"exhibition"]; float price = [priceString floatValue]; // 搜索文字 NSString * str = [NSString stringWithF... 阅读全文
posted @ 2015-05-19 15:19 在bug中前行 阅读(116) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/hmt20130412/article/details/23861585 阅读全文
posted @ 2015-04-10 18:10 在bug中前行 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Reachability 中定义了3种网络状态:typedef enum { NotReachable = 0, //无连接 ReachableViaCarrierDataNetwork, //使用3G/GPRS网络 ReachableViaWiFiNetwork //使用WiFi网络} Netwo... 阅读全文
posted @ 2015-04-10 18:06 在bug中前行 阅读(258) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页