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

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

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

At the moment, i’m working for android.

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

haha … thanks anyways! :smile: