From Xojo Documentation


iOSView.PushTo(newView As iOSView)

Supported on Mobile(iOS).

Displays a new view by "pushing" it onto the current View.


PushTo displays a new View over the current View, placing it on the "stack" so that the back functionality of the new View can be used to go back to the original View. If you need to just change the current View without affecting the stack, you can do so by using the iOSApplication.CurrentScreen property.

Use the Close method to close the new View and go back to the View that called "PushTo".

Sample Code

Displays a new View on the screen:

Var newView As New View2