Tuesday, December 13, 2016

[IONIC] Forcing app into portrait

There might be times you might want to force an app to be in portrait/landscape mode. It's pretty simple to do it in ionic.

To do that just add the following line in config.xml
You can change the value to portrait or landscape. After that you can run ionic build or ionic run. You are done!

Happy Coding.

No comments:

Post a Comment