UIKeyboardImpl.h 1.0 KB

123456789101112131415161718192021222324252627
  1. #if TARGET_OS_SIMULATOR
  2. /**
  3. * iOS-Runtime-Headers/PrivateFrameworks/UIKitCore.framework/UIKeyboardImpl.h
  4. */
  5. @interface UIKeyboardImpl
  6. + (instancetype)sharedInstance;
  7. /**
  8. * Modify software keyboard condition on simulators for over Xcode 6
  9. * This setting is global. The change applies to all instances of UIKeyboardImpl.
  10. *
  11. * Idea: https://chromium.googlesource.com/chromium/src/base/+/ababb4cf8b6049a642a2f361b1006a07561c2d96/test/test_support_ios.mm#41
  12. *
  13. * @param enabled Whether turn setAutomaticMinimizationEnabled on
  14. */
  15. - (void)setAutomaticMinimizationEnabled:(BOOL)enabled;
  16. /**
  17. * Modify software keyboard condition on simulators for over Xcode 6
  18. * This setting is global. The change applies to all instances of UIKeyboardImpl.
  19. *
  20. * Idea: https://chromium.googlesource.com/chromium/src/base/+/ababb4cf8b6049a642a2f361b1006a07561c2d96/test/test_support_ios.mm#41
  21. *
  22. * @param enabled Whether turn setSoftwareKeyboardShownByTouch on
  23. */
  24. - (void)setSoftwareKeyboardShownByTouch:(BOOL)enabled;
  25. @end
  26. #endif // TARGET_IPHONE_SIMULATOR