When I move my app's window to another (external) monitor, scale factor is changed and I have to make some changes related to UIScreen.scale.
How do I detect that my app's window has been moved to another screen? It's catalyst project. I tried UIViewController.willTransitionToTraitCollection but it's not called