Class

iOSSplitView


Description

A SplitView allows you to present master/detail views on a single iPad screen.

Properties

Name

Type

Read-Only

Shared

Detail

iOSSplitContent

DisplayMode

DisplayModes

Master

iOSSplitContent

Methods

Name

Parameters

Returns

Shared

Available

Boolean

ViewControllerHandle

Ptr

Events

Name

Parameters

Returns

AppearanceChanged

dark As Boolean

Enumerations

iOSSplitView.DisplayModes

DisplayModes

The ways in which the split can be displayed.

Enum

Description

AllVisible

Both the master and the detail will be displayed.

Automatic

Same as PrimaryOverlay below.

PrimaryHidden

Tapping on the Master screen hides the Master, leaving only the Detail screen showing. The Master can be redisplayed by swiping from the left edge of the screen towards the middle.

PrimaryOverlay

Tapping on the Detail screen hides the Master. The Master can be redisplayed by swiping from the left edge of the screen towards the middle.

Property descriptions


iOSSplitView.Detail

Detail As iOSSplitContent

The detail (or right-hand side) view or tab bar to display.


iOSSplitView.DisplayMode

DisplayMode As DisplayModes

The way in which the Master section of the split view will be displayed.


iOSSplitView.Master

Master As iOSSplitContent

The master (or left-hand side) view or tab bar to display.

Method descriptions


iOSSplitView.Available

Available As Boolean

Indicates that a SplitView is available. This typically means that an iPad is being used.


iOSSplitView.ViewControllerHandle

ViewControllerHandle As Ptr

The handle to use when creating Declares to the underlying OS object.

On iOS, the underlying OS object is a UIViewController.

Event descriptions


iOSSplitView.AppearanceChanged

AppearanceChanged(dark As Boolean)

Called when a user switches between Light and Dark mode.

Use this event to update any graphics or other UI as needed.

Notes

You can create an split in code by using iOSApplication.CurrentScreen like this:

Var split As New iOSSplitView

Var master As New MasterView
split.Master = master

Var detail As New DetailView
split.Detail = detail

App.CurrentScreen.Content = split

Compatibility

iOS projects on the iOS operating system.

See also

Object parent class; MobileScreen