MobileScreen.ParentTabBar
From Xojo Documentation
Read-Only Property (As iOSTabBar )
Indicates the Tab Bar that is the owner of this Screen. It is Nil if there is no Tab Bar.
Sample Code
Add a new View to the Tab Bar:
// This code (on a Screen) adds Screen3 to the Tab Bar
If Self.ParentTabBar <> Nil Then
Var v As New Screen3
Self.ParentTabBar.AddTab(v)
End If
If Self.ParentTabBar <> Nil Then
Var v As New Screen3
Self.ParentTabBar.AddTab(v)
End If
Compatibility
iOS project types on iOS and iPadOS operating systems.