Post

Replies

Boosts

Views

Activity

Reply to NavigationStack inside NavigationSplitView broken animation
@DTS Engineer Below you will find a more detailed code: @State private var selectedItem: String? @State private var navigationPath = NavigationPath() var body: some View { NavigationSplitView { List(selection: $selectedItem) { Button("Item 1") { selectedItem = "Detail View 1" } Button("Item 2") { selectedItem = "Detail View 2" } } } detail: { NavigationStack(path: $navigationPath) { DetailView(navigationPath: $navigationPath) .navigationDestination(for: String.self) { value in VStack { Image(systemName: "photo") Text("New Screen: \(value)") } .frame(maxWidth: .infinity, maxHeight: .infinity) } } } } } struct DetailView: View { @Binding var navigationPath: NavigationPath var body: some View { VStack { Text("Title") .font(.title) Text("Detail view content") .foregroundStyle(.secondary) Button("Change Screen"){ navigationPath.append("Second Screen") } } .frame(maxWidth: .infinity, maxHeight: .infinity) } } While observing navigationPath it did not pop the view of the stack after adding it. @DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’25
Reply to Significant scrolling lag when using .focused modifier in large LazyVStack/LazyHStack on tvOS
Would love to get some feedback from any of the Apple engineers about it, the behavior is the same in tvOS26 Developer Beta 1 as well, having a LazyVStack with 700+ rows with each row using the .focused modifier will lag the ScrollView to almost 1 FPS when getting to position 500+- It seems as SwiftUI keeps rendering all the previous scrolled rows which causes major lag. Removing the .focused modifier completely fixes it, as this modifier is a key modifier for creating a complex apps in tvOS I would assume it would be a top priority to fix.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’25
Reply to Xcode 16 - List Lazy loading broken
We are experincing the same type of issue, unfortuentely changing "SWIFT_ENABLE_OPAQUE_TYPE_ERASURE=NO" did not fix it for us. If anyone else have any idea, please let me know.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to SwiftUI Buttons and onMoveCommand Missing Presses
Same issue, any updates about this issue? Tried the newest 18.4 tvOS beta, it's not fixed. This really breaks the functionality of the modifier!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to NavigationStack inside NavigationSplitView broken animation
@DTS Engineer Below you will find a more detailed code: @State private var selectedItem: String? @State private var navigationPath = NavigationPath() var body: some View { NavigationSplitView { List(selection: $selectedItem) { Button("Item 1") { selectedItem = "Detail View 1" } Button("Item 2") { selectedItem = "Detail View 2" } } } detail: { NavigationStack(path: $navigationPath) { DetailView(navigationPath: $navigationPath) .navigationDestination(for: String.self) { value in VStack { Image(systemName: "photo") Text("New Screen: \(value)") } .frame(maxWidth: .infinity, maxHeight: .infinity) } } } } } struct DetailView: View { @Binding var navigationPath: NavigationPath var body: some View { VStack { Text("Title") .font(.title) Text("Detail view content") .foregroundStyle(.secondary) Button("Change Screen"){ navigationPath.append("Second Screen") } } .frame(maxWidth: .infinity, maxHeight: .infinity) } } While observing navigationPath it did not pop the view of the stack after adding it. @DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to SwiftUI tvOS NavigationTransition and matchedTransitionSource
@DTS Engineer Hey, it seems like they have no effect at all in tvOS, is that correct?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to SwiftUI Buttons and onMoveCommand Missing Presses
@DTS Engineer is there any update on this?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Significant scrolling lag when using .focused modifier in large LazyVStack/LazyHStack on tvOS
Would love to get some feedback from any of the Apple engineers about it, the behavior is the same in tvOS26 Developer Beta 1 as well, having a LazyVStack with 700+ rows with each row using the .focused modifier will lag the ScrollView to almost 1 FPS when getting to position 500+- It seems as SwiftUI keeps rendering all the previous scrolled rows which causes major lag. Removing the .focused modifier completely fixes it, as this modifier is a key modifier for creating a complex apps in tvOS I would assume it would be a top priority to fix.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Significant scrolling lag when using .focused modifier in large LazyVStack/LazyHStack on tvOS
This behavior remind the same in tvOS 26 Developer Beta. This really needs to be fixed as it makes complex app extremely hard to make for tvOS.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Menu's primaryAction:{} is broken on latest iOS 26 beta
@darkpaw Yes of course I did, FB20011843
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Aug ’25
Reply to Menu's primaryAction:{} is broken on latest iOS 26 beta
This is still not fixed in XCode 26 RC The issue seems to be with List Section{} headers. The following will not work: List { Section { // Content } header: { HStack { Menu { Button("Test"){} } label: { Text("Menu") } primaryAction: { // Some action } } } }
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Sep ’25