Does the displayScale of the traitCollection change while the app is running?

"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

Thank you! I will try it.

Terms of Service

Privacy Policy

Cookie Policy