Find out what's covered in our CALayers video tutorial series.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3246-calayers/lessons/1
Find out what's covered in our CALayers video tutorial series.
Hi there, I am Bekzod Rakhmatov.
I have been a project for a couple of months and I am having an issue with UIInterfaceOrientation.
My entire app is in Landscape mode but there are a few view controllers are in Portrait mode. I implemented some code for handling these problems. It was working when there was not storyboard. After creating a storyboard i have starting getting this issue. Actually shouldAutorotate method is not being called. And I use base view controller and some of them inherence from the base view controller.
If somebody has solution to this problem please help me.
Thanks in advance.
@bekzodrakhmtov - I have had many nightmares concerning auto rotate over the years. Iโve fixed them in various ways and then forgotten about them.
So I canโt give you a definitive reply. It depends.
Hereโs a possible solution: ios - overriding shouldAutorotate not working in Swift 3 - Stack Overflow. It could also be an issue with auto layout.