Skip to content

Commit eb08739

Browse files
committed
Bumps to 1.4.2
1 parent ed73d33 commit eb08739

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

Keyboard+LayoutGuide.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Keyboard+LayoutGuide'
3-
s.version = "1.4.1"
3+
s.version = "1.4.2"
44
s.summary = "Apple's missing KeyboardLayoutGuide"
55
s.homepage = "https://github.com/freshOS/KeyboardLayoutGuide"
66
s.license = { :type => "MIT", :file => "LICENSE" }

KeyboardLayoutGuide.framework.zip

22.8 KB
Binary file not shown.

KeyboardLayoutGuide/KeyboardLayoutGuide/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.4.1</string>
18+
<string>1.4.2</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

KeyboardLayoutGuideExample/KeyboardLayoutGuideExample/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ViewController: UIViewController {
1717
super.viewDidLoad()
1818

1919
// Opt out of safe area if needed.
20-
view.keyboardLayoutGuide.usesSafeArea = false
20+
// view.keyboardLayoutGuide.usesSafeArea = false
2121

2222
// Constrain your button to the keyboardLayoutGuide's top Anchor the way you would do natively :)
2323
button.bottomAnchor.constraint(equalTo: view.keyboardLayoutGuide.topAnchor).isActive = true

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ If you add your view in Interface Builder, don't forget to enable the "**Remove
4343

4444
<img src="Images/constraint.png" width=258>
4545

46+
## Safe Area
47+
By default, KeyboardLayoutGuide will align your item with the bottom safe area.
48+
This is a behaviour that can be opt out with the `usesSafeArea` property.
49+
```swift
50+
// Opt out of safe area if needed.
51+
view.keyboardLayoutGuide.usesSafeArea = false
52+
```
53+
4654
## Installation
4755

4856
### CocoaPods

0 commit comments

Comments
 (0)