Just found out that it works correctly on iOS 14 if you have parentheses after onAppear/onDisappear:
.onAppear() {
print("...code here")
}
.onDisappear() {
print("...code here")
}
Post
Replies
Boosts
Views
Activity
Hello,
I have the exact same problem with one of my apps. All works without any problems on iOS 13 but in the latest Xcode beta and iOS 14 it won't work, no @EnvironmentObject is working. Is there anyway to escalate this?