(Flipboard Explorer)是Flipboard发布的应用内调试工具,开发者可在toolbar中查看和修改运行中的应用
- Inspect and modify views in the hierarchy.
- See the properties and ivars on any object.
- Dynamically modify many properties and ivars.
- Dynamically call instance and class methods.
- Observe detailed network request history with timing, headers, and full responses.
- Add your own simulator keyboard shortcuts.
- View system log messages (e.g. from NSLog).
- Access any live object via a scan of the heap.
- View the file system within your app’s sandbox.
- Browse SQLite/Realm databases in the file system.
- Explore all classes in your app and linked systems frameworks (public and private).
- Quickly access useful objects such as [UIApplication sharedApplication], the - app delegate, the root view controller on the key window, and more.
- Dynamically view and modify NSUserDefaults values.
#if DEBUG
#import "FLEXManager.h"
#endif
...
- (void)handleSixFingerQuadrupleTap:(UITapGestureRecognizer *)tapRecognizer
{
#if DEBUG
if (tapRecognizer.state == UIGestureRecognizerStateRecognized) {
// This could also live in a handler for a keyboard shortcut, debug menu item, etc.
[[FLEXManager sharedManager] showExplorer];
}
#endif
}