上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: 判断横竖屏。http://www.cocoachina.com/ask/questions/show/121301//self.cameraView是相机view - (NSUInteger)supportedInterfaceOrientations{ UIInterfaceOrientat... 阅读全文
posted @ 2014-10-23 11:15 回读(IOS) 阅读(1865) 评论(0) 推荐(0) 编辑
摘要: http://mobile.51cto.com/iphone-283337.htmObjective-C开发程序的时候,有专门的日志操作类NSLog,它将指定的输出到标准的错误输出上(stderr)。我们可以利用它在Xcode的日志输出窗口,或者是输出到具体的文件当中。AD:2014WOT全球软件技... 阅读全文
posted @ 2014-10-23 11:12 回读(IOS) 阅读(252) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/ios/20140922/9717.html在iOS 8中,苹果引入了UITableView的一项新功能--Self Sizing Cells,对于不少开发者来说这是新SDK中一项非常有用的新功能。在iOS 8之前,如果想在表视图中展示可变高度的动... 阅读全文
posted @ 2014-10-22 13:54 回读(IOS) 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 在真机测试的时候往往会突然出现这样一个错误,code signing is required for product type 'Application' in SDK 'iOS 7.0' ,就是说代码签名证书不对劲。解决方案,1.选择工程->Build Settings -> Code Signi... 阅读全文
posted @ 2014-10-22 10:12 回读(IOS) 阅读(220) 评论(0) 推荐(0) 编辑
摘要: command + k 或 command + shift + k 切换到模拟器键盘其默认是Mac键盘 阅读全文
posted @ 2014-10-10 14:15 回读(IOS) 阅读(321) 评论(0) 推荐(0) 编辑
摘要: button.exclusiveTouch = YES; 阅读全文
posted @ 2014-09-28 10:28 回读(IOS) 阅读(242) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_6f29e81f0101qwbk.html【问题描述】今天请求服务器返回的字段中含有空格,这空格是服务器开发人员不小心往数据中多敲了,所以在客户端需要把字符串中的空格过滤掉。【问题分析】1、使用NSString中的stringByTrim... 阅读全文
posted @ 2014-09-26 15:40 回读(IOS) 阅读(775) 评论(0) 推荐(0) 编辑
摘要: /** * 将UIColor变换为UIImage * **/+ (UIImage *)createImageWithColor:(UIColor *)color{ CGRect rect = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f); UIGraphicsBe... 阅读全文
posted @ 2014-09-22 17:57 回读(IOS) 阅读(332) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/heartofthesea/article/details/222893991.将准备好的字体文件加入项目中2.打开Build Phases—Copy Bundle Resources,确保刚添加的字体文件在列表中,否则需要手动加到这里3.编辑”项目名-In... 阅读全文
posted @ 2014-09-15 15:57 回读(IOS) 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-09-11 10:25 回读(IOS) 阅读(141) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页