iOSView.AddControl

From Xojo Documentation

Method

iOSView.AddControl(child As iOSControl)

Supported on Mobile(iOS).

Adds a control to the View.

Sample Code

Add a control to the View:

Var ctrl As New iOSSwitch
// Send its ValueChanged event to the SwitchValueChanged method on the View
AddHandler ctrl.ValueChanged, AddressOf SwitchValueChanged
Self.AddControl(ctrl)