上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
  2017年5月11日
摘要: // 根据anntation生成对应的View - (BMKAnnotationView *)mapView:(BMKMapView *)mapView viewForAnnotation:(id <BMKAnnotation>)annotation { 阅读全文
posted @ 2017-05-11 16:47 强者VS弱者 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1、要是用一个定时器,首先要定义一个定时器: @property(strong,nonatomic)NSTimer *myTimer;//定时器 2、初始化,初始化有两种方式: 第一种: + (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti ta 阅读全文
posted @ 2017-05-11 10:46 强者VS弱者 阅读(852) 评论(0) 推荐(0) 编辑
摘要: - (IBAction)pwdTextSwitch:(UIButton *)sender { // 前提:在xib中设置按钮的默认与选中状态的背景图 // 切换按钮的状态 sender.selected = !sender.selected; if (sender.selected) { // 按下 阅读全文
posted @ 2017-05-11 09:19 强者VS弱者 阅读(962) 评论(0) 推荐(0) 编辑
  2017年5月9日
摘要: 注意:iOS所有图标的圆角效果由系统生成,给到的图标本身不能是圆角的。 1. 桌面图标 (app icon) for iPhone6 plus(@3x) : 180 x 180 for iPhone 6/5s/5/4s/4(@2x) : 120 x 120 2. 系统搜索框图标 (Spotlight 阅读全文
posted @ 2017-05-09 11:24 强者VS弱者 阅读(720) 评论(0) 推荐(0) 编辑
摘要: 控制台报忠告: This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an N 阅读全文
posted @ 2017-05-09 11:20 强者VS弱者 阅读(433) 评论(0) 推荐(0) 编辑
摘要: // 状态栏(statusbar) CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame]; NSLog(@"status width - %f", rectStatus.size.width); // 宽度 NS 阅读全文
posted @ 2017-05-09 11:13 强者VS弱者 阅读(326) 评论(0) 推荐(0) 编辑
  2017年5月8日
摘要: 判断全汉字 if ([self deptNameInputShouldChinese]) { [DemonAlertHelper showToastWithMessage:@"只能是中文"]; return; } 调用这个方法就可 #pragma mark-- #pragma mark 输入中文 - 阅读全文
posted @ 2017-05-08 18:06 强者VS弱者 阅读(2276) 评论(0) 推荐(0) 编辑
摘要: 1.[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:186xxxx123"]]; 测试结果:不弹出提示框,直接跳转到通讯录拨打电话,通话结束返回到app。 2.UIWebView * callWebview 阅读全文
posted @ 2017-05-08 17:59 强者VS弱者 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 处理UITextField,键盘消失问题 1. 通过UITextFiledDelegate,来释放第一响应者(resignFirstResponder);通过delegate释放键盘 -(BOOL)textFieldShouldReturn:(UITextFiled*)textField{ [tex 阅读全文
posted @ 2017-05-08 15:32 强者VS弱者 阅读(387) 评论(0) 推荐(0) 编辑
  2017年4月27日
摘要: 第一点:菜单列表没出来 未添加白名单 第二点: QQ平台申请,和安卓共用一个APP名字,出现的 问题 第三点 阅读全文
posted @ 2017-04-27 15:37 强者VS弱者 阅读(182) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页