-
-
Notifications
You must be signed in to change notification settings - Fork 413
Keyboard
Vatsal Manot edited this page May 29, 2020
·
2 revisions
/// An object representing the keyboard.
@available(iOSApplicationExtension, unavailable)
public final class Keyboard : ObservableObject {
public static let main: Keyboard
public var state: State { get set }
/// A Boolean value that determines whether the keyboard is showing on-screen.
public var isShowing: Bool { get }
public init(notificationCenter: NotificationCenter = .default)
/// Dismiss the software keyboard presented on-screen.
public func dismiss()
/// Dismiss the software keyboard presented on-screen.
public class func dismiss()
}
If you see any problems with the content above, please file an issue here.