Thanks for the quick response!
Attaching .id(UUID()) on iOS 13 has no effect, i.e. no flickering. The behaviour in iOS 14 is very strange. I have the issue in dynamic and static Cells, though with one exception: in a pure static list.
I guess I have to find a way to selectively change only the ID of the NavigationLink active.
The problem is, that my app is in production since march, build mostly upon SwiftUI. Now iOS 14 breaks a lot which might forces me to switch to UIKit.
Also results of a @FetchedRequest update in iOS 13 in Lists automatically with animation but in iOS 14 they don't anymore :(
Post
Replies
Boosts
Views
Activity
I encountered the same error in iOS 14.
In my case the problem was, that after app launch I was running two processes, both starting a new background task on the PersistentContainer like this:
persistentContainer.performBackgroundTask { (context) in ...
Waiting for one task to finish until starting the next solved the problem for me.
Hope this helps somebody. Previously I had no such problem running in iOS 13 though...
I have the same issue in iOS 14.0 - but not in every view and sometimes only on the iPad.
My workaround which currently works looks something like this:
struct ContentView: View {
class SheetManager: ObservableObject {
@Published var presentSheet = false
@Published var activeSheet: ActiveSheet = .none
enum ActiveSheet {
case one
case two
case three
case none
}
}
@ObservedObject private var sheetManager = SheetManager()
var body: some View {
VStack {
...
}
.sheet(isPresented: self.$sheetManager.presentSheet) {
if self.sheetManager.activeSheet == .none {
EmptyView()
} // etc.
}
}
}
Thank you so much, the empty navigation link works for me as well. The behaviour is still present in the current iOS 14.6 beta.
I have the same problem! The downloads work on my Mac mini with macOS Sonoma beta but on my Mac Book Pro with macOS Ventura 13.5.2 I only get the 404 bad request status. I tried it with the App Store version, the direct download and the previous RC version. Nothing works.