Skip to content

Commit 3425be5

Browse files
committed
fix: splitview links
1 parent 464da32 commit 3425be5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

content/ui/split-view.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The underlying controller can operate in *double* or *triple* column styles. Spl
8484
- `SplitView.SplitStyle.double`
8585
- `SplitView.SplitStyle.triple`
8686

87-
iOS chooses the right `UISplitViewControllerStyle` for you. On iOS 17+ an inspector column can also be shown. citeturn2view0
87+
iOS chooses the right `UISplitViewControllerStyle` for you. On iOS 17+ an inspector column can also be shown.
8888

8989
## Props
9090

@@ -101,15 +101,15 @@ displayMode:
101101
| 'twoDisplaceSecondary'
102102
```
103103

104-
Maps to [UISplitViewController.preferredDisplayMode]. Determines how the primary/supplementary columns relate to the secondary column (beside vs over vs displaced).
104+
Maps to [UISplitViewController.preferredDisplayMode](https://developer.apple.com/documentation/uikit/uisplitviewcontroller/preferreddisplaymode). Determines how the primary/supplementary columns relate to the secondary column (beside vs over vs displaced).
105105

106106
### splitBehavior (iOS 14+)
107107

108108
```ts
109109
splitBehavior: 'automatic' | 'tile' | 'overlay' | 'displace'
110110
```
111111

112-
Maps to [UISplitViewController.preferredSplitBehavior](https://developer.apple.com/documentation/uikit/uisplitviewcontroller/preferreddisplaymode). Controls how columns behave when the size class changes (for example overlaying instead of resizing). iOS 14 or newer is required.
112+
Maps to [UISplitViewController.preferredSplitBehavior](https://developer.apple.com/documentation/uikit/uisplitviewcontroller/preferredsplitbehavior). Controls how columns behave when the size class changes (for example overlaying instead of resizing). iOS 14 or newer is required.
113113

114114
### preferredPrimaryColumnWidthFraction
115115

@@ -181,10 +181,11 @@ splitView.hideSecondary()
181181

182182
Controls the visibility of the secondary column.
183183

184-
### showSupplementary()
184+
### showSupplementary() / hideSupplementary()
185185

186186
```ts
187187
splitView.showSupplementary()
188+
splitView.hideSupplementary()
188189
```
189190

190191
Ensures the supplementary column is visible when the display mode allows it. Hiding is typically handled automatically by the display mode.

0 commit comments

Comments
 (0)