As shown in the documentation, this method is marked available for iOS 14+ [Beta].
However, when use it in a view, the compiler warns it is not available.
Is it a bug or a removed api with outdated documentation?
Configures the view’s title for purposes of navigation, using a custom view.
Code Block swift func navigationTitle<V>(_ title: () -> V) -> some View where V : View
However, when use it in a view, the compiler warns it is not available.
Code Block swift body: some View { Text("Hello, world!") .navigationTitle { SomeCustomView() // Or even Text("some title") } }
Is it a bug or a removed api with outdated documentation?