We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ff5da commit 5b243baCopy full SHA for 5b243ba
KeyboardLayoutGuideExample/KeyboardLayoutGuideExample/ViewController.swift
@@ -16,10 +16,10 @@ class ViewController: UIViewController {
16
override func viewDidLoad() {
17
super.viewDidLoad()
18
19
- // Opt out of safe area if needed.
20
- // view.keyboardLayoutGuide.usesSafeArea = false
21
-
22
// Constrain your button to the keyboardLayoutGuide's top Anchor the way you would do natively :)
23
button.bottomAnchor.constraint(equalTo: view.keyboardLayoutGuide.topAnchor).isActive = true
+
+ // Opt out of safe area if needed.
+// button.bottomAnchor.constraint(equalTo: view.keyboardLayoutGuideNoSafeArea.topAnchor).isActive = true
24
}
25
0 commit comments