iOSToolButton.NewSystemItem

From Xojo Documentation

Shared Method

iOSToolButton.NewSystemItem(type As Types) As iOSToolButton

Creates a button using a built-in system item icon.

Sample Code

This code in the Open event handler of a view places an Add button in the left Navigation Bar:

// Create the button
Dim button As iOSToolButton
button = iOSToolButton.NewSystemItem(iOSToolButton.Types.SystemAdd)

// Add it to the view
LeftNavigationToolbar.Add(button)