摘要: - (UIButton *)navSearBtn { if (!_navSearBtn) { _navSearBtn = [[UIButton alloc]init]; _navSearBtn.backgroundColor = [UIColor clearColor]; _navSearBtn.titleLabel.font = DEF_... 阅读全文
posted @ 2017-12-07 11:54 宁静暖风 阅读(1710) 评论(0) 推荐(0) 编辑
摘要: //1.导入头文件 #import //2.设置代理CLLocationManagerDelegate @interface ShopMyInfoViewController () //3.viewDidLoad中调用getJingWeiDu方法 //4、自动调代理方法 locationManager // 经纬度 - (void)locationManager:(CLLocationMana... 阅读全文
posted @ 2017-11-23 16:35 宁静暖风 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1、 2、 阅读全文
posted @ 2017-11-20 09:38 宁静暖风 阅读(597) 评论(0) 推荐(0) 编辑
摘要: 1.在控制器中 添加如下代码 可以控制当前控制器隐藏状态栏 2.在AppDelegate中的 didFinishLaunchingWithOptions方法中 写 并在Info.plist中 添加 View controller-based status bar appearance 项 并设置为N 阅读全文
posted @ 2017-11-17 10:56 宁静暖风 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 喜欢积累技术点,有问题请大家多多指正,微信号dwjluck2013 阅读全文
posted @ 2017-10-25 11:57 宁静暖风 阅读(3198) 评论(0) 推荐(0) 编辑
摘要: 下面的正则列表 替换对应的正则规则 那个字符串就可以了 例如: 阅读全文
posted @ 2017-09-30 15:35 宁静暖风 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 喜欢交朋友的加:微信号 dwjluck2013 #import "LoginGestureCodeViewController.h" #import "UserModel.h" #import "AppDelegate.h" #import "LoginViewController.h" #define BtnTag 5000 @interface LoginGestureCodeVie... 阅读全文
posted @ 2017-09-28 08:29 宁静暖风 阅读(934) 评论(0) 推荐(0) 编辑
摘要: NSString *qq=[NSString stringWithFormat:@"mqq://im/chat?chat_type=wpa&uin=%@&version=1&src_type=web",@"11027037153"]; NSURL *url2 = [NSURL URLWithString:qq]; if ([[UIApplication sharedAppli... 阅读全文
posted @ 2017-09-25 11:44 宁静暖风 阅读(806) 评论(0) 推荐(0) 编辑
摘要: // 获取字符串 可口可乐 和 18967839006 infoStr = @"【接渡镇合作点】快件交给可口可乐,正在派送途中(联系电话:18967839006)"; if([infoStr rangeOfString:@"快件交给"].location !=NSNotFound) ... 阅读全文
posted @ 2017-09-22 14:23 宁静暖风 阅读(165) 评论(0) 推荐(0) 编辑
摘要: // 动态行高 self.tableView.rowHeight = UITableViewAutomaticDimension; // 预估行高 self.tableView.estimatedRowHeight = 150; // 注:写这两句 可以不用实现tableView的代理方法 heightForRowAt... 阅读全文
posted @ 2017-09-20 15:09 宁静暖风 阅读(112) 评论(0) 推荐(0) 编辑