- April 27, 2024
- Mins Read
KeyboardHideManager – codeless manager to hide keyboard by tapping on views for iOS written in Swift.
pod ‘KeyboardHideManager’, ‘~> 1.0’
KeyboardHideManager cannot be used with Carthage in IB due .framework
issue. Use CocoaPods or Manual install.
If you prefer not to use either of the aforementioned dependency managers, you can integrate KeyboardHideManager into your project manually.
Drag KeyboardHideManager
folder in your project.
KeyboardHideManager
in Class fieldtargets
Target must be UIView
subclass and user iteraction enabled
is on. You can set it in IB in View section: (example for UILabel)
or in code:
someView.isUserInteractionEnabled = true
To use with xib you must add strong property to controller:
@IBOutlet var keyboardHideManager: KeyboardHideManager!
Otherwise it will be deinited. It is logic of Objects in xibs.
Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...