首页 > 移动平台 > 详细

iOS reveal使用

时间:2015-06-24 14:40:28      阅读:617      评论:0      收藏:0      [点我收藏+]

安装

打开:reveal

技术分享

选择:

技术分享

打开xcode项目,把reveal.framework拖到项目里

设置Other Linker Flags

技术分享
如果在运行的时候,报下面错误:

Undefined symbols for architecture i386: “_deflate”, referenced
from:
-[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o) “_deflateEnd”, referenced from:
-[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o) “deflateInit2“, referenced from:
-[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o) ld: symbol(s) not found for architecture
i386 clang: error: linker command failed with exit code 1 (use -v to
see invocation)

则把这里的-ObjC改为-lz
另外下一步要引入的框架加入一个:

libz.dylib

4.需要引入的框架:
技术分享

使用

启动xcode的项目,
打开reveal,点击这里
技术分享
运行结果截屏:
技术分享

iOS reveal使用

原文:http://blog.csdn.net/xundh/article/details/46621037

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!