iOSToolbar.Insert

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

iOSToolbar.Insert(index As Integer, value As iOSToolButton)

Supported on Mobile(iOS).

Inserts the BarButton at the specified index (0-based) on the bar.

Sample Code

Insert a button in the first position of the toolbar:

Toolbar.Insert(0, iOSToolButton.NewPlain("Save"))