MobileScreen.ShowModal

From Xojo Documentation

Method

MobileScreen.ShowModal(parent As MobileScreen = Nil, style As ModalPresentationStyles = ModalPresentationStyles.Automatic, animated As Boolean = True)

New in 2020r2

Supported for all project types and targets.

Displays the Screen passed as a modal Screen.

Notes

A modal Screen has no navigation bar with a back button the user can use to return to the previous screen.

If you using an iOSTabBar or using an iOSSplitView, you'll need to pass as the parent parameter the Screen in front of which you wish the modal dialog to appear.

Sample Code

Show a dialog from the current Screen:

Var login As New LoginDialog
login.ShowModal

See Also

Show method.