diff --git a/Classes/Manager/FLEXManager.m b/Classes/Manager/FLEXManager.m index e8d66fe818..83a24ab728 100644 --- a/Classes/Manager/FLEXManager.m +++ b/Classes/Manager/FLEXManager.m @@ -237,6 +237,9 @@ - (void)registerDefaultSimulatorShortcuts + (void)load { + if ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0) { + return; + } dispatch_async(dispatch_get_main_queue(), ^{ [[[self class] sharedManager] registerDefaultSimulatorShortcuts]; }); diff --git a/Classes/Network/PonyDebugger/FLEXNetworkObserver.m b/Classes/Network/PonyDebugger/FLEXNetworkObserver.m index 8c626e1829..4f11e2b985 100644 --- a/Classes/Network/PonyDebugger/FLEXNetworkObserver.m +++ b/Classes/Network/PonyDebugger/FLEXNetworkObserver.m @@ -101,6 +101,9 @@ + (BOOL)isEnabled + (void)load { + if ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0) { + return; + } // We don't want to do the swizzling from +load because not all the classes may be loaded at this point. dispatch_async(dispatch_get_main_queue(), ^{ if ([self isEnabled]) { diff --git a/Classes/Utility/FLEXKeyboardShortcutManager.m b/Classes/Utility/FLEXKeyboardShortcutManager.m index b55138e76e..1c6db21da5 100644 --- a/Classes/Utility/FLEXKeyboardShortcutManager.m +++ b/Classes/Utility/FLEXKeyboardShortcutManager.m @@ -135,6 +135,9 @@ + (instancetype)sharedManager + (void)load { + if ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0) { + return; + } SEL originalKeyEventSelector = NSSelectorFromString(@"handleKeyUIEvent:"); SEL swizzledKeyEventSelector = [FLEXUtility swizzledSelectorForSelector:originalKeyEventSelector]; diff --git a/FLEX_Bell.podspec b/FLEX_Bell.podspec index 3755bb2c54..3448756071 100644 --- a/FLEX_Bell.podspec +++ b/FLEX_Bell.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "FLEX_Bell" - spec.version = "2.3.0" + spec.version = "2.3.0.1" spec.summary = "A set of in-app debugging and exploration tools for iOS" spec.description = <<-DESC - Inspect and modify views in the hierarchy. diff --git a/README.md b/README.md index 04d7b93db8..58a5d3dfa2 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,9 @@ FLEX (Flipboard Explorer) is a set of in-app debugging and exploration tools for ![View Hierarchy Exploration](http://engineering.flipboard.com/assets/flex/basic-view-exploration.gif) +## Difference with [Flipboard/FLEX](https://github.com/Flipboard/FLEX) + +`pod` add iOS6 support,but can not be used below iOS8. ## Give Yourself Debugging Superpowers - Inspect and modify views in the hierarchy.