I am not using Size classes in my project and continue to use old methods for view controller orientation. I am getting deprecation warnings, such as when I use code below :
if (UIInterfaceOrientationIsPortrait(self.interfaceOrientation)) {
...
}
I have searched a lot but could not find the right way to fix it. Any suggestions ?
traitCollection
as size classes. Obviously if you refuse to look at it, you won't see it. – Fivefinger