摘要: Reveal是配合开发者编辑各种用户界面参数一款工具,运行界面如下,模拟器和真机都支持。Reveal使用时中不需要添加其他代码,只需要ios工程加载Reveal.framework,如果是真机需要确认真机与Mac所在的同一局域网,Xcode运行App,在Reveal中选择运行的App,就可以看到上图类似的界面。一、手动安装在Reveal应用程序Help->Show Reveal Library in Finder,找到Reveal.framework1、添加Reveal.framework到工程目录中,拷贝到工程目录,如果有多个target,需要选取所有targets。2、将Reveal 阅读全文
posted @ 2014-02-27 17:56 geweb 阅读(2376) 评论(0) 推荐(1) 编辑
摘要: AFNetworking 下载地址:https://github.com/AFNetworking/AFNetworking/AFNetworking 2.0 当Deployment Target 低于6.0时,AFURLConnectionOperation.h,AFURLSessionManager.h@property (nonatomic, strong) dispatch_queue_t completionQueue;由于sdk低于6.0时,dispatch_queue_t ARC没有托管,出现提示错误 Property with 'retain (or strong)&# 阅读全文
posted @ 2014-02-26 17:23 geweb 阅读(1585) 评论(0) 推荐(0) 编辑
摘要: 1.状态栏20px高度问题if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) { [application setStatusBarStyle:UIStatusBarStyleLightContent]; self.window.clipsToBounds =YES; self.window.frame = CGRectMake(0,20,self.window.frame.size.width,self.window.frame.size.height-20); ... 阅读全文
posted @ 2013-10-30 17:20 geweb 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 原文链接: http://blog.csdn.net/kmyhy/article/details/8895643原文:http://developer.apple.com/library/ios/#documentation/uikit/reference/NSAttributedString_UIKit_Additions/RevisionHistory.html概述UIKit 在 NSAttributedString 中加入了新的方法,以支持格式化文本的绘制、计算文本在绘制前的大小及空间。这些方法不影响文本的内容,只影响绘制的过程。默认,文本绘制使用本地坐标,内容从某个点向右向下绘制。当你 阅读全文
posted @ 2013-06-09 16:00 geweb 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 1.导出真机中的crash文件,自动导入的,mac下面的地址:~/Library/Logs/CrashReporter/MobileDevice2.命令行操作(1)sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/(2)export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"(3)/Applications/Xcode.app/Contents/Developer/Platforms/iPhone 阅读全文
posted @ 2013-04-06 00:07 geweb 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 解决方案:1.开始参考的例子 :http://blog.csdn.net/xueer8835/article/details/7955590在sourceforge下载zbar源码,修改了文件zbar/qrcode/qrdectxt.c// 重点在这里,我们不要 ISO8859-1,直接换成 GB18030 就可以了 //latin1_cd=iconv_open("UTF-8","ISO8859-1"); latin1_cd=iconv_open("UTF-8","GB18030");修改完成后测试,发现乱码问题依 阅读全文
posted @ 2013-02-28 14:28 geweb 阅读(3487) 评论(0) 推荐(1) 编辑