Understand Soft-Deprecated SwiftUI APIs
mainA soft-deprecated API is marked as deprecated in the SDK headers using a placeholder version (100000.0) to suppress compiler warnings. These APIs still compile and function correctly, but they signal that they should not be used in new code.
Common examples include:
NavigationView(useNavigationStackorNavigationSplitViewinstead)ActionSheet/Alert(use.confirmationDialogor.alertmodifiers instead)MagnificationGesture(useMagnifyGestureinstead)PresentationMode(use\.dismissinstead)
Treat these APIs as informational rather than urgent errors.