You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`UIView.pin.keyboardMargins`: property expose directly the value of UIKit [`UIView.keyboardLayoutGuide`](https://developer.apple.com/documentation/uikit/keyboards_and_input/adjusting_your_layout_with_keyboard_layout_guide). This is really useful when layout adjustment due to the keyboard is required. iOS 15+
16
+
17
+
Added by [baegteun](https://github.com/baekteun) in Pull Request [#238](https://github.com/layoutBox/PinLayout/pull/238)
Copy file name to clipboardExpand all lines: PinLayout.podspec
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
Pod::Spec.newdo |spec|
10
10
spec.name="PinLayout"
11
-
spec.version="1.10.0"
11
+
spec.version="1.10.1"
12
12
spec.summary="Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast."
13
13
spec.description="Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]"
*:star: New chainable Objective-C syntax. See [PinLayout using Objective-C](#objective_c_interface)
42
43
*:star: Automatic Sizing, use PinLayout to compute view size. See [Automatic sizing](#automatic_sizing)
43
44
*:star: Add methods to position a view between two other views. See [Layout between other views](#layout_between).
44
45
*:star: Add [`pin.readableMargins` and `pin.layoutMargins`](#safeAreaInsets) properties.
45
46
*:star: Add `sizeToFit()` method. See [Adjusting size](#adjusting_size).
46
47
*:star: PinLayout can now layout CALayer. See [CALayer Support](#calayer_support) for more information.
47
-
*:star: PinLayout is #9 in the list of Swift Layout frameworks on [Awesome Swift](https://swift.libhunt.com/categories/714-layout)
48
+
*:star: PinLayout is #8 in the list of Swift Layout frameworks on [Awesome Swift](https://swift.libhunt.com/categories/714-layout)
48
49
* See [Changelog](https://github.com/layoutBox/PinLayout/blob/master/CHANGELOG.md) for all changes.
49
50
50
51
@@ -1221,15 +1222,15 @@ This example layout an UIImageView at the top and center it horizontally, it als
1221
1222
1222
1223
1223
1224
<aname="safeAreaInsets"></a>
1224
-
## safeArea, keyboardMargins, readable and layout margins
1225
+
## safeArea, readable, layout and keyboard margins
1225
1226
1226
1227
UIKit expose 4 kind of areas/guides that can be used to layout views.
The following image display the 3 areas on an iPad in landscape mode. (safeArea, readableMargins, layoutMargins)
1235
1236
@@ -1364,12 +1365,8 @@ PinLayout's `UIView.pin.layoutMargins` property expose directly the value of UIK
1364
1365
### 4. pin.keyboardMargins:
1365
1366
1366
1367
##### Property:
1367
-
***`pin.keyboardMargins: UIEdgeInset`**
1368
-
PinLayout's `UIView.pin.keyboardMargins` property expose directly the value of UIKit [`UIView.keyboardLayoutGuide`](https://developer.apple.com/documentation/uikit/keyboards_and_input/adjusting_your_layout_with_keyboard_layout_guide). This is really useful when layout adjustment due to the keyboard is required.
1369
-
1370
-
Bottom of safe area when the keyboard undocked.
1371
-
1372
-
This property can be used from iOS 15 and above.
1368
+
***`pin.keyboardMargins: UIEdgeInset`[iOS 15+]**
1369
+
PinLayout's `UIView.pin.keyboardMargins` property expose directly the value of UIKit [`UIView.keyboardLayoutGuide`](https://developer.apple.com/documentation/uikit/keyboards_and_input/adjusting_your_layout_with_keyboard_layout_guide). This is really useful when layout adjustment due to the keyboard is required. [iOS 15+]
0 commit comments