Ionic app does not auto-rotate on mobile but does on Tablet


#1

Hey all,

I’m not too sure, why the app i’ve build doesn not auto-rotate on mobile devices but does smoothly on any Tablet device.

as far as i remember, it used to earlier but not sure why is it happening now.

Any inputs from you guys are highly welcome.

Thanks.

regards,
Nakul


Ionic app will not switch orientation when iPad is rotated
#2

Are you developing for iOS?

In XCode under the general settings tab there is a “Device Orientation” setting, for me, by default, Portrait is the only ticked option for iPhone and all of them are ticked for iPad.

If you edit this and rebuild, it should work as expected


#3

At the moment, i’m working for android.


#4

Ah… well in that case, completely ignore me :smiley:


#5

haha … thanks anyways! :smile: