I was able to fix my problem by changing the navigationViewStyle to StackNavigationViewStyle in the main navigation view.
It doesn't use the split view which is not a big deal for my app.
NavigationView {
VStack(alignment: .leading) {
VStack(alignment: .leading, spacing: 20) {
Text("choose a topic to draw: ").font(Font.extraLight17)
HStack(alignment: .center, spacing: 18) {
NavigationLink(destination: LibraryView("lineArt", title: "Line Arts")) {
TopicCell(imageName: "cellLineArt", title: "Line Arts")
}.buttonStyle(PlainButtonStyle())
NavigationLink(destination: TextToDrawView()) {
TopicCell(imageName: "header", title: "Headlines")
}.buttonStyle(PlainButtonStyle())
}
HStack(alignment: .center, spacing: 18) {
NavigationLink(destination: LibraryView("banner", title: "Banners")) {
TopicCell(imageName: "cellBanner", title: "Banners")
}.buttonStyle(PlainButtonStyle())
NavigationLink(destination: LibraryView("reference", title: "References")) {
TopicCell(imageName: "cellReference", title: "Refences")
}.buttonStyle(PlainButtonStyle())
}
}.padding()
NavigationLink(destination: VectorizeDrawView()) {
BlackButtonView(title: "Select to Draw")
}
.buttonStyle(PlainButtonStyle())
.padding()
}
}.navigationViewStyle(StackNavigationViewStyle())
example
Post
Replies
Boosts
Views
Activity
Experiencing the same issue UIApplication.shared.supportsAlternateIcons is directly false from the system in iOS15, maybe they changed the API but not updated the docs.