Post

Replies

Boosts

Views

Activity

Reply to SwiftUI : NavigationStack in new iOS 18 TabView pushes twice when path in parameter
I have found a workaround using NavigationPath instead of an array of Route in my NavigationModel class NavigationModel: ObservableObject { static let shared = NavigationModel() @Published var selectedTab: String @Published var homePath: NavigationPath @Published var testPath: NavigationPath } Edit: It fixes the "push twice" issue but NavigationStack still acts weirdly, even though the path is correct, some views are not correctly popped. Removing the TabView still fixes all issues so I think the TabView is buggy.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’24
Reply to Can't install any apps on my new iPhone 16 Pro with iOS 18 from XCode
Same issue here with released macOS 15.0, Xcode 16.0 (16A242d) and iPhone 16 Pro. Filed a feedback FB15201194
Replies
Boosts
Views
Activity
Sep ’24
Reply to SwiftUI : NavigationStack in new iOS 18 TabView pushes twice when path in parameter
The issue seems to be fixed in iOS 18 beta 5
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to iOS 18 beta 5 for “Find My” bug
same issue here, I filed a feedback FB14697845
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftUI : NavigationStack in new iOS 18 TabView pushes twice when path in parameter
FYI I am also able to reproduce the issue with latest iOS 18 beta 4.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to SwiftUI : NavigationStack in new iOS 18 TabView pushes twice when path in parameter
I have found a workaround using NavigationPath instead of an array of Route in my NavigationModel class NavigationModel: ObservableObject { static let shared = NavigationModel() @Published var selectedTab: String @Published var homePath: NavigationPath @Published var testPath: NavigationPath } Edit: It fixes the "push twice" issue but NavigationStack still acts weirdly, even though the path is correct, some views are not correctly popped. Removing the TabView still fixes all issues so I think the TabView is buggy.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24