Need Help: 3D Touch Breaks Autorotate

My app was working fine without 3D touch implementation; The app would autorotate normally as expected. With the 3D touch implementation added, the app continues to work great and rotates normally until 3D touch is used (peek or pop) from which point on the app will no longer autorotate. I have no idea what is causing this issue and would greatly appreciate any help of any kind. Is anyone else encountering this same problem?

I had this problem too.

Turned out I had a storyboard segue that handled peek/pop and the preview delegate. The presentation would be done twice and trigger this in the console:.

Warning: Attempt to present <AViewController: 0x1375c3ed0>  on <ACollectionViewController: 0x13762feb0> which is already presenting (null)

The solution is to let the storyboard handle the peek/pop or do it via the delegate, not both.

Need Help: 3D Touch Breaks Autorotate
 
 
Q