2017年2月20日

IOS 设置定时器,执行方法

摘要: //设置定时器(1秒后跳到一下题) [self performSelector:@selector(nextQuestion) withObject:nil afterDelay:1.0]; 阅读全文

posted @ 2017-02-20 21:31 守望星空 阅读(194) 评论(0) 推荐(0)

IOS 拼接按钮文字

摘要: NSMutableString *tempAnswerTitle=[[NSMutableString alloc]init]; for(UIButton *answerBtn in self.answerView.subviews) { //判断按钮是否有文字 NSString *answerTitle=[answerBtn titleForState:U... 阅读全文

posted @ 2017-02-20 21:15 守望星空 阅读(182) 评论(0) 推荐(0)

IOS 设置ipone状态栏的样式

摘要: /** 控制状态栏的样式 */ -(UIStatusBarStyle)preferredStatusBarStyle { //白色 return UIStatusBarStyleLightContent; } //隐藏状态栏 -(BOOL)prefersStatusBarHidden { return YES; } 阅读全文

posted @ 2017-02-20 19:54 守望星空 阅读(125) 评论(0) 推荐(0)

IOS xcode常用的快捷键

摘要: 新建 shift + cmd + n 新建项目 cmd + n 新建文件 视图 option + cmd + 回车 打开助理编辑器 cmd + 回车 显示主窗口 cmd + 0 导航窗口 option + cmd + 0 工具窗口 在.m & .h之间切换 control + cmd + 上/下 按 阅读全文

posted @ 2017-02-20 16:36 守望星空 阅读(115) 评论(0) 推荐(0)

IOS 制作常用代码的快捷方式

摘要: 输入可以变的对象或类型,要用<#name#> 阅读全文

posted @ 2017-02-20 16:25 守望星空 阅读(121) 评论(0) 推荐(0)

IOS 制作动画代码和 设置控件透明度

摘要: 方式1: 方式2: 阅读全文

posted @ 2017-02-20 10:31 守望星空 阅读(213) 评论(0) 推荐(0)

导航