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
The following image display the 3 areas on an iPad in landscape mode.
1234
1235
@@ -1360,6 +1361,20 @@ PinLayout's `UIView.pin.layoutMargins` property expose directly the value of UIK
1360
1361
1361
1362
<br/>
1362
1363
1364
+
### 4. pin.keyBoardLayout:
1365
+
1366
+
##### Property:
1367
+
***`pin.keyBoardLayout: UIEdgeInset`**
1368
+
PinLayout's `UIView.pin.keyBoardLayout` 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
+
##### Usage example:
1373
+
```swift
1374
+
view.pin.bottom(pin.keyBoardLayout.top)
1375
+
```
1376
+
1377
+
1363
1378
<aname="wrapContent"></a>
1364
1379
## WrapContent
1365
1380
@@ -1624,7 +1639,7 @@ PinLayout can display warnings in the console when pin rules cannot be applied o
1624
1639
* The newly pinned attributes conflict with other already pinned attributes.
1625
1640
Example:
1626
1641
`view.pin.left(10).right(10).width(200)`
1627
-
👉 Layout Conflict: `width(200) won't be applied since it conflicts with the following already set properties: left: 0, right: 10.`
1642
+
👉 Layout Conflict: `width(200) won't be applied since it conflicts with the following already set properties: left: 0, right: 10.`
1628
1643
1629
1644
* The newly pinned attributes have already been set to another value.
0 commit comments