@@ -48,6 +48,7 @@ public struct HiddenViewModifier<Content: View> {
4848
4949 /// Change the toolbar behavior when the window is fullscreen.
5050 /// `.showsWithWindow` is the default behavior. `.showsWithMenuBar` will hide the toolbar when fullscreen.
51+ @available ( iOS, unavailable)
5152 public func fullScreenToolbarBehavior( _ behavior: FullScreenToolbarBehavior ) -> some View {
5253 content. fullScreenToolbarBehavior ( behavior. toOriginal)
5354 }
@@ -78,6 +79,7 @@ public struct HiddenViewModifier<Content: View> {
7879
7980 /// Set the indentation level of a Form row.
8081 @available ( macOS 13 . 0 , * )
82+ @available ( iOS, unavailable)
8183 public func formRowIndentationLevel( _ level: Int ? ) -> some View {
8284 content. formRowIndentationLevel ( level)
8385 }
@@ -103,37 +105,43 @@ public struct HiddenViewModifier<Content: View> {
103105 /// Add a trailing info icon to a Form row.
104106 /// As an example, see system bluetooth settings.
105107 @available ( macOS 13 . 0 , * )
108+ @available ( iOS, unavailable)
106109 public func formInfoAction( action: @escaping ( ) -> Void ) -> some View {
107110 content. formInfoAction ( action: action)
108111 }
109112
110113 /// Change the visibility of the trailing info icon in a Form row.
111114 @available ( macOS 13 . 0 , * )
115+ @available ( iOS, unavailable)
112116 public func formRowInfoVisibility( _ visibility: Visibility ) -> some View {
113117 content. formRowInfoVisibility ( visibility)
114118 }
115119
116120 /// Add a trailing Form row view, which becomes visible when hovered over the row.
117121 /// As an example, see system wifi settings.
118122 @available ( macOS 13 . 0 , * )
123+ @available ( iOS, unavailable)
119124 public func formAccessory( @ViewBuilder accessories: ( ) -> some View ) -> some View {
120125 content. formAccessory ( accessories: accessories)
121126 }
122127
123128 /// Change the visibility of the trailing Form row view.
124129 @available ( macOS 13 . 0 , * )
130+ @available ( iOS, unavailable)
125131 public func formAccessoryVisibility( _ visibility: Visibility ) -> some View {
126132 content. formAccessoryVisibility ( visibility)
127133 }
128134
129- /// Add a bottom row to a Form .
135+ /// Add a bottom row to a Table .
130136 @available ( macOS 13 . 0 , * )
137+ @available ( iOS, unavailable)
131138 public func bottomBar( @ViewBuilder content: ( ) -> some View ) -> some View {
132139 self . content. bottomBar ( content: content)
133140 }
134141
135142 /// Add a sticky footer to List or Table. The List or Table needs to be wrapped in a Form with style `grouped`.
136143 @available ( macOS 13 . 0 , * )
144+ @available ( iOS, unavailable)
137145 public func accessoryBar( @ViewBuilder content: ( ) -> some View ) -> some View {
138146 self . content. accessoryBar ( content: content)
139147 }
0 commit comments