虽然xcode 有可以看到页面层级的功能。可是你不能在层级之中做一些修改,比如说坐标 颜色等等。 使用Reveal 使一些东西变的简单化。方面做UI。
一、作用:用来分析UI各个页面之间的层级关系。
二、官网下载地址(30天免费试用):http://revealapp.com/
三、Reveal安装设置
1、安装下载好的Reveal程序。
2、添加Reveal framework到目标工程。
Reveal->Help->Show Reveal Library in Finder
点击之后,路径如下:
将"Reveal.framework"拖到目标工程
在弹出的对话框中选择目标应用(此处为:Test),并勾选“Copy items if needed”
添加后的效果如下
添加“-ObjC”命令到工程的“Build SettingS”下面的“Other Linker Flags”
选择目标工程->选择“TARGETS”->选择"Biuld Settings"->在搜索框里输入“other linker”即可找到“Other Linker Flags”,双击“Other Linker Flags”,在弹出来的框中点击“+”,输入"-ObjC"回车即可
3. 使用Reveal分析目标UI层级关系。
->运行目标应用,例如此处为“Test”
->在Reveal中选择目标应用,就可以看到目标应用的UI层级关系了。
本文仅仅介绍了Reveal基本设置及使用,更多高级功能请参考官网相关资料。
ps : 转载自:http://www.skyfox.org/ios-ui-debug-reveal-crack.html
1.官网下载最新版Reveal,拖动应用程序中,运行一次
2.下载16进制编辑器"0xED" for mac(http://dl.vmall.com/c0kjm4b8fu)
3.使用"0xED"打开文件"Macintosh HD ▸ 应用程序 ▸ Reveal ▸ Contents ▸ MacOS ▸ Reveal"
4."0xED"菜单栏的Edit 中,Number mode 选择 Hex
5.搜索text 7DE8000F95C3
6.选中95
7.然后下边出来修改框 95改成94
8.保存
9. 运行Reveal
Reveal1.5破解
Undefined symbols for architecture x86_64:
"_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 x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方案: