摘要: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{[self test];// Override point for customi... 阅读全文
posted @ 2015-01-14 21:20 Milo_D 阅读(848) 评论(0) 推荐(0) 编辑
摘要: iOS simulator出现问题,提示:An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)解决方案:[iOS Simulator] >>> [Rest Contents ... 阅读全文
posted @ 2015-01-12 11:46 Milo_D 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 如何安装?1.安装ruby环境,添加淘宝ruby镜像$ gem sources --remove https://rubygems.org///等有反应之后再敲入以下命令$ gem sources -a http://ruby.taobao.org/2.查看是否设置成功:$ gem sources ... 阅读全文
posted @ 2015-01-08 12:29 Milo_D 阅读(921) 评论(0) 推荐(0) 编辑
摘要: Xcode 升级到 6.0 后,更新 CocoaPods,出现了如下的警告[!] The `Paopao [Debug]` target overrides the `PODS_ROOT` build setting defined in`Pods/Target Support Files/Pods... 阅读全文
posted @ 2015-01-08 10:05 Milo_D 阅读(674) 评论(0) 推荐(0) 编辑
摘要: 主要思路就是 ,在要被识别的应用程序B的XCode的info.plist中 如果是Xcode 4.2 ,那么 1. 在info.plist 中 增加 一个 URL Schemes: XXX 添加的具体细节是: 1.1 打开 info.plist ,在 Information ... 阅读全文
posted @ 2015-01-06 10:08 Milo_D 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 问题如下:解决:更改环境 okStandard architectures (armv7, arm7s) 阅读全文
posted @ 2015-01-04 16:13 Milo_D 阅读(468) 评论(0) 推荐(0) 编辑
摘要: iPhone设备 物理分辨率是硬件所支持的,逻辑分辨率是软件可以达到的。 如图所示: Tips: 最终发现iPhone5和6一个小秘密,它们的比例是不变的 iPod设备 iPad设备 阅读全文
posted @ 2014-12-31 11:07 Milo_D 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 1)避免同时点击多个按钮; [btn setExclusiveTouch:YES];设置确保当btn点击时,其他按钮不响应;(2)避免同时点击UITableView中多个row-(NSIndexPath*)tableView:(UITableView*)tableView willSelectRow... 阅读全文
posted @ 2014-12-30 11:27 Milo_D 阅读(537) 评论(0) 推荐(0) 编辑
摘要: //创建日期格式化对象NSDateFormatter*dateFormatter=[[NSDateFormatteralloc]init];[dateFormattersetDateFormat:@"yyyy-MM-ddHH:mm"];//创建了两个日期对象NSDate*date1=[dateFor... 阅读全文
posted @ 2014-12-25 19:54 Milo_D 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 在我们编译的时候有时候会报这个错误"library not found for - "由于是我们在项目中使用了一些第三方的库,就比如我再使用百度的静态库文件的时候,报出的这个错误。当xcode在编译的时候却找不到这个库,从而导致如此。所以我们要让xcode知道这个库文件在哪里,从而在编译的时候轻松的... 阅读全文
posted @ 2014-12-23 12:48 Milo_D 阅读(3699) 评论(0) 推荐(0) 编辑