From Xojo Documentation

Read-Only Property (As iOSSplitView )
iOSSplitViewValue = aMobileScreen.ParentSplitScreen

Supported on Mobile.

Indicates the split Screen that is the owner of this Screen. It is Nil is there is no split screen.


A split screen can only be used on iPad devices. Use this property to determine if a iOSSplitView is displayed. You can then use it to get access to the Master and Detail screens that are displayed.

Sample Code

If a iOSSplitView is used, then populate the detail side, otherwise, push a new screen onto the iOSSplitView:

If Self.ParentSplitScreen <> Nil Then
// In the SelectionChanged event for a Table on a Master view of the split screen.
// Gets the Text for the selected row and
// assigns it to a Label on the DetailScreen of the split screen.
DetailScreen(Self.ParentSplitScreen.Detail).Label1.Text = Me.RowCellData(row).Text
// No split screen, so this is a phone.
// Display the Detail Screen and update the text for its label.
Var d As New DetailScreen
d.Label1.Text = Me.RowCellData(row).Text
End If


iOS project types on iPadOS only.