I'm still confused with these changes in iOS8. I need to know if a user uses an iPhone in portrait mode. If so I want to change one constraint. Otherwise I leave it as set as in the interface builder. So how can I determine the device?
Thx!
I'm still confused with these changes in iOS8. I need to know if a user uses an iPhone in portrait mode. If so I want to change one constraint. Otherwise I leave it as set as in the interface builder. So how can I determine the device?
Thx!
Select the constraint you want to define screen layouts for:
Select the screen layouts you need your constraint installed.
How about this one: UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation]
?