I have a custom UIView that I use to display synchronization in my device, but it won’t rotate with the device when the orientation changes.
Everything else rotates just fine, is there something I am missing to ensure my subclassed uiview will rotate?
I have a custom UIView that I use to display synchronization in my device,
Share
Programmatically:
add this. Hope this helps..
Or go to your Target Settings and click the directions you want it to rotate, but this will affect all your viewcontrollers.