TabModal
public struct TabModal : View
A struct used to define the modal tab screen.
-
Creates a
TabModalinstance.Declaration
Swift
public init<Content, ModalContent>( @ViewBuilder modalTabBarItemContent: () -> Content, @ViewBuilder content: () -> ModalContent ) where Content: View, ModalContent: ViewParameters
modalTabBarItemContenta
@ViewBuilderthat contains the modal tab bar item.contenta
@ViewBuilderthat contains the content of the tab bar modal screen. -
The body of TabModal. It creates a view with the modal tab content.
Declaration
Swift
public var body: some View { get }
View on GitHub
TabModal Structure Reference