jeudi 1 janvier 2015

SizeClasses+AutoLayout works flawlessly in the simulator but not on a device?

I've created a simple single view application which is intended to resize/rearrange its layout when the device is rotated to a new orientation. I'm using size classes and AutoLayout.


The layout changes properly in the xcode simulator (ios8 on all tested devices), but when I try to run it on my phone the view appears properly in portrait but does not rotate to landscape.


The status bar(time, signal battery) rotates off the screen but the view does not move at all. What could be causing this? The device is an iphone 5, ios 8.1


I'm happy to post any code you want to see, please let me know what's relevant.


Thank you!




Aucun commentaire:

Enregistrer un commentaire