What main actor changes were done in iOS 26?

Asked on 06/11/2025

1 search

In iOS 26, there are several changes related to actors and concurrency, particularly with the introduction of Swift 6. The "Main Actor by default" mode is enabled in new app projects, which provides data race safety without introducing concurrency until you are ready. This is part of the approachable concurrency configuration in Xcode 26. If you want to enable these features in existing projects, you can refer to the Swift Migration Guide. This information is discussed in the session Code-along: Elevate an app with Swift concurrency (02:11).

Additionally, in SwiftUI, views are now implicitly isolated to the main actor by default, meaning if you were explicitly marking your views as main actor, you can now remove that annotation without any change in behavior. This is part of the improvements in Swift 6 language mode, which is opt-in. More details can be found in the session What’s new in SwiftUI (17:18).