03 2015 档案

摘要:设置LaunchImageSource时,需要将图片调整成iPhone屏幕大小iPhone4 640x480 3.5inchiPhone5 640x1136 4inchiPhone6 750x1334 4.7inchiPhone6P 1080x1920 5.5inch 阅读全文
posted @ 2015-03-25 00:29 yth2004 阅读(247) 评论(0) 推荐(0)
摘要:1. 生成bridging-header.h「项目名-Bridging-Header.h」2.编辑bridging-header.h#import 3.读入Bridging-Header.h在[Build Settings]的[Objective-C Bridging Header]下指定GameF... 阅读全文
posted @ 2015-03-22 22:08 yth2004 阅读(342) 评论(0) 推荐(0)
摘要:platform :ios, '7.0'pod "AFNetworking", "~> 2.0"1.CocoaPods是什么当你开发iOS应用时,会经常使用到很多第三方开源类库,比如JSONKit,AFNetWorking等等。可能某个类库又用到其他类库,所以要使用它,必须得另外下载其他类库,而其他... 阅读全文
posted @ 2015-03-22 15:51 yth2004 阅读(115) 评论(0) 推荐(0)
摘要:LocationClient现在无法使用,以下是新的解决方案https://developer.android.com/training/location/retrieve-current.htmlpublic class MainActivity extends ActionBarActivity... 阅读全文
posted @ 2015-03-16 00:35 yth2004 阅读(273) 评论(0) 推荐(0)
摘要:如图所示Type改成CustomImage填入照片![](http://images.cnitblog.com/blog2015/728348/201503/151957134021462.png) 阅读全文
posted @ 2015-03-15 19:59 yth2004 阅读(340) 评论(0) 推荐(0)
摘要:1.按钮删除时注意Referencing Outlet是否删除![](http://images.cnitblog.com/blog2015/728348/201503/151915579337492.png)2.发现没问题时 试试clean project3.还是不好使时 重新启动xcode 阅读全文
posted @ 2015-03-15 19:19 yth2004 阅读(242) 评论(0) 推荐(0)
摘要:1.用Goolge Account登陆https://bitbucket.org/2.点击屏幕上方的创建,创建一个私人仓库(Create a new repository) Repository type选项选择git3.初始化设置git initgit remote add origin git@... 阅读全文
posted @ 2015-03-08 16:16 yth2004 阅读(997) 评论(4) 推荐(0)