Post

Replies

Boosts

Views

Activity

Reply to Xcode 16 NavigationStack using environment variable
It is not just you. There are a few threads here talking about this including https://developer.apple.com/forums/thread/759542. There is the issue you mentioned and another that causes the “back” navigation to display views that were previously in the NavigationPath stack, but shouldn’t be at the time they are displayed. Specifically within tabs. Developers on that thread mention that the latest beta for 18.1 appears to fix the issue and also provide a couple of workarounds for 18.0.
Topic: UI Frameworks SubTopic: SwiftUI
Oct ’24
Reply to Pausing UndoManager (with CoreData)
Well, after creating a minimal project to demonstrate the issue using the IOS App template from Xcode, I found that the following code does indeed work as expected: context.processPendingChanges() context.undoManager?.disableUndoRegistration() // Make changes that you don't want to record in the undo stack. context.processPendingChanges() context.undoManager?.enableUndoRegistration() I will work to figure out where my error is in my app. Thanks for your response.
Jul ’24
Reply to Creating a navigation link within a chart?
Thanks. That does’t work here though because I’m not plotting any data to the chart that uniquely identifies a given object (TaskGroup in my case) - just a name and some dates. I need to uniquely identify the TaskGroup being tapped to inject it into the detail view. I can’t really plot a UUID or a reference to the TaskGroup itself...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’24
Reply to PhotosPicker doesn’t appear when declared inside Menu
Came here with the same issue but then also found a thread discussing a modifier for photosPicker similar to .sheet (https://developer.apple.com/forums/thread/713564)         .toolbar {             ToolbarItem(placement: .primaryAction) {                 Menu {                     Button {                         showingPhotosPicker.toggle()                     } label: {                         Label("Add Photo", systemImage: "photo.on.rectangle")                     }                 } label: {                     Label ("More", systemImage: "ellipsis.circle")                 }             }         }         .photosPicker(isPresented: $showingPhotosPicker, selection: $selectedItems, matching: .any(of: [.images, .screenshots, .livePhotos]))     }
Nov ’22
Reply to Icon composer icon contains alpha channel upload error
Confirm same issue with Xcode 26 (17A321). Turning off blur for all layers in Icon Composer fixed it.
Replies
Boosts
Views
Activity
Sep ’25
Reply to Keyboard Toolbar Padding iOS26
Did you find a solution to this? I’m having the same issue. In Notes, for instance, keyboard toolbar buttons have a nice gap between the keyboard and the toolbar. I can’t duplicate this in SwiftUI.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Sep ’25
Reply to Core Data externally stored binary data not deleted with record
Did you resolve this issue? Just noticed the external data isn’t getting deleted. Thanks.
Replies
Boosts
Views
Activity
Feb ’25
Reply to LinkPresentation startFetchingMetadata errors
Thanks. I’ve submitted FB15430726 on this issue with a minimal test project to reproduce the issue.
Topic: UI Frameworks SubTopic: General
Replies
Boosts
Views
Activity
Oct ’24
Reply to Xcode 16 NavigationStack using environment variable
It is not just you. There are a few threads here talking about this including https://developer.apple.com/forums/thread/759542. There is the issue you mentioned and another that causes the “back” navigation to display views that were previously in the NavigationPath stack, but shouldn’t be at the time they are displayed. Specifically within tabs. Developers on that thread mention that the latest beta for 18.1 appears to fix the issue and also provide a couple of workarounds for 18.0.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Oct ’24
Reply to Pausing UndoManager (with CoreData)
Well, after creating a minimal project to demonstrate the issue using the IOS App template from Xcode, I found that the following code does indeed work as expected: context.processPendingChanges() context.undoManager?.disableUndoRegistration() // Make changes that you don't want to record in the undo stack. context.processPendingChanges() context.undoManager?.enableUndoRegistration() I will work to figure out where my error is in my app. Thanks for your response.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Creating a navigation link within a chart?
Thanks. That does’t work here though because I’m not plotting any data to the chart that uniquely identifies a given object (TaskGroup in my case) - just a name and some dates. I need to uniquely identify the TaskGroup being tapped to inject it into the detail view. I can’t really plot a UUID or a reference to the TaskGroup itself...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to ShareLink and DataRepresentation
Any update on this? I have the same issue and is obviously not a beta issue at this point. Thanks.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to PhotosPicker doesn’t appear when declared inside Menu
Came here with the same issue but then also found a thread discussing a modifier for photosPicker similar to .sheet (https://developer.apple.com/forums/thread/713564)         .toolbar {             ToolbarItem(placement: .primaryAction) {                 Menu {                     Button {                         showingPhotosPicker.toggle()                     } label: {                         Label("Add Photo", systemImage: "photo.on.rectangle")                     }                 } label: {                     Label ("More", systemImage: "ellipsis.circle")                 }             }         }         .photosPicker(isPresented: $showingPhotosPicker, selection: $selectedItems, matching: .any(of: [.images, .screenshots, .livePhotos]))     }
Replies
Boosts
Views
Activity
Nov ’22