reveal下载地址:reveal 密码:mZTeUfapp
一、在Xcode项目中,选择“View → Navigators → Show Breakpoint Navigator”。布局
二、在左边底部面板,点击"+"号按钮,而后选择“Add Symbolic Breakpoint”。lua
三、在Symbol字段里面填入“UIApplicationMain”。code
四、点击“Add Action”按钮,并确认一下“Action”是设置到“Debugger Command”。图片
五、在Action下的文本框中贴入以下表达式get
expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void *)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2) : ((void*)0)
六、检查选项“Automatically continue after evaluating actions”是否勾选了。it
七、右键点击新建的断点,而后选择“io
Move Breakpoint To → User编译
八、编译,在模拟器上运行你的程序,而后打开Reveal,查看你的布局。下载