tokizo
(tokizo)
1
"traitCollectionDidChange(_:)" can handle changes in "iOS interface environment", but I don't think the "displayScale" of the previousTraitCollection will change. Is this correct?
https://developer.apple.com/documentation/uikit/uitraitenvironment/1623516-traitcollectiondidchange
Please let me know if there is an example where "displayScale" is changed while the application is running.
It may change when UIWindow is moved to a different (external) screen
1 Like
tokizo
(tokizo)
3
Thank you! I will try it.