UIViewController

class UIViewController : UIResponder, NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment
  • Undocumented

    Declaration

    Swift

    open func useKeyboard(_ isUsed: Bool)
  • Undocumented

    Declaration

    Swift

    open func keyboardWillShow(_ notif: NSNotification)
  • Undocumented

    Declaration

    Swift

    open func keyboardWillHide(_ notif: NSNotification)
  • Undocumented

    Declaration

    Swift

    open func keyboardDidShow(_ notif: NSNotification)
  • Undocumented

    Declaration

    Swift

    open func keyboardDidHide(_ notif: NSNotification)
  • Undocumented

    Declaration

    Swift

    open func animateBottomSafeArea(_ height: CGFloat,
                                    duration: TimeInterval = 0.25,
                                    options: UIView.AnimationOptions = .curveEaseInOut,
                                    completion: ((Bool) -> Void)? = nil)
  • Return the safeAreaFrame for iOS 9.0+

    Declaration

    Swift

    internal var areaFrame: CGRect { get }