iOSView.CloseMethod

From Xojo Documentation

Method

iOSView.Close()

Supported on Mobile(iOS).

For views that were displayed using PushTo, this closes the View causing the previous View to display.

Notes

Since calling Close displays the previous View, you can call it to simulate the user pressing a "Back" button on the View.

You cannot close the main View (the one that is specified as the Content for the Screen), however you can swap in another view by using the iOSApplication.CurrentScreen property.