-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the traitCollection fallback on iOS 13
On iOS 13 UIKit now predicts the initial traits for a view before it's rendered so no need to return the screen's trait collection instead. Moreover, it's better to use the app's key window for determing the fallback traitCollection instead of the screen since for apps that support split screen that will be different based on the configuration chosen by the user.
- Loading branch information
1 parent
51ba63b
commit a27685d
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters