iOSScreen.Content

From Xojo Documentation

Read-Only Property (As iOSScreenContent )
iOSScreenContentValue = aiOSScreen.Content

Supported on Mobile (iOS).

The content to display on the screen. This can be a single View, a SplitView (consisting of a main and a detail view) or a TabBar (consisting of multiple Views).

Sample Code

You can directly change the screen content without using PushTo. This code creates a new iOSView (View2, added to the project) and directly assigns it to the content:

Var myNewView As New View2
App.CurrentScreen.Content = myNewView

See Also

iOSApplication class