reveal设置
2018-06-05 本文已影响7人
乐在琦中Helena
打开reveal应用,点击状态栏的Help,选择Integration Guide,获取当前版本的集成指南

以版本4为例,在Xcode中添加Symbolic Breakpoint
断点,Symbol
为UIApplicationMain
,点击Add Action
,Action
为Debugger Command
,内容填入:
expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void *)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework/RevealServer", 0x2) : ((void*)0)
并勾选Automatically continue after evaluating actions



到此完成了通过断点设置reveal,其他方法包括CocoaPod与链接Framework等可根据指南进行设置。