iOSView.ParentTabBar

From Xojo Documentation

Read-Only Property (As iOSTabBar )
iOSTabBarValue = aiOSView.ParentTabBar

Supported on Mobile (iOS).

Indicates the Tab Bar that is the owner of this View. It is Nil if there is no Tab Bar.

Sample Code

Add a new View to the Tab Bar:

// This code (on a View) adds View3 to the Tab Bar
If Self.ParentTabBar <> Nil Then
Dim v As New View3
Self.ParentTabBar.AddTab(v)
End If