How to stop viewWillTransition on ResignActive

403 views Asked by At

I have UIViewController with CollectionView and other buttons on the screen and using viewWillTransition when rotate the device. My problem is that when I minimize the application, and later open it again with the same rotation, it always go through viewWillTransition again. How can I disable it? I want to use the implementation only on orientation changed.

0

There are 0 answers