摘要: 1.点击项目名 2.选Build settings 搜索 product name 3.双击,改为需要在手机上显示的应用名 阅读全文
posted @ 2016-03-18 14:08 一斗才 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 错误:URL发送请求和网页,出现 “App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be config 阅读全文
posted @ 2016-03-02 22:46 一斗才 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 错误提示: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter' 解决方法: 阅读全文
posted @ 2016-03-02 20:28 一斗才 阅读(227) 评论(0) 推荐(0) 编辑
摘要: - (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event 开始触摸时的 - (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIE 阅读全文
posted @ 2016-03-01 15:57 一斗才 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1.输入git push origin master 出错:error: failed to push some refs to 那是因为本地没有update到最新版本的项目(git上有README.md文件没下载下来) 本地直接push所以会出错。 2.所以本地要输入git pull 然后出现的英 阅读全文
posted @ 2016-02-29 20:05 一斗才 阅读(6587) 评论(0) 推荐(0) 编辑
摘要: 1.在命令行中创建GIT仓库 mkdir DriveAssistant cd DriveAssistant git init echo "# DriveAssistant" >> README.md git add README.md git commit -m "first commit" git 阅读全文
posted @ 2016-02-29 00:01 一斗才 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1.前往Xcode7的插件文件夹,路径如下: ~/Library/Developer/Xcode/Plug-ins 如果有KSImageNamed,右键删除 2.在终端直接输入命令行: defaults write com.apple.t.Xcode KSShowExtensionInImageCo 阅读全文
posted @ 2016-02-21 00:16 一斗才 阅读(704) 评论(0) 推荐(0) 编辑
摘要: xcode7 目前只支持 ios8盒和iOS9的模拟器如果是Yosemite系统,下载xcode7和xcode6.4,两个版本可以共存,然后再下载iOS7默契你如果是EI Caption系统,网上说EI Caption上ios simulator的runtime发生了变化,不支持启动7的模拟器了。可... 阅读全文
posted @ 2016-01-20 17:10 一斗才 阅读(306) 评论(0) 推荐(0) 编辑
摘要: // 从conding拉下新项目mkdir testcd testgit clone https// 安装cocoapodsgem sources --remove https://rubygems.org/gem sources -a https://ruby.taobao.org/gem sou... 阅读全文
posted @ 2015-12-22 09:48 一斗才 阅读(415) 评论(0) 推荐(0) 编辑
摘要: @2X是5和6系列的图片,@3X是6P等大屏的图片本公司目前只用@2X的图片适配。比如20X27的图片1x,就是原始大小;用2X,就除以2,变成10X13.5;如果用3X的,就除以3,变成6.3X9;防止失真-----------------GIT使用mkdir test 创建本地文件夹cd t... 阅读全文
posted @ 2015-12-08 18:04 一斗才 阅读(147) 评论(0) 推荐(0) 编辑