-1

Update: I took a look at the ionic view documents and got the answer: ionic view only support a list of limitied 3rd plugins. This is not a good question. I will read the doc more carefully before starting useing it.

I am using Cordova orientation plugin, when the orientation changes, the UI will change accordingly. It works well in an emulator, but when I test it in ionic view(ios version) it doesn't work. the UI which should have been changed didn't change a little. How to solve this? btw, I am not using ngCordova, just Cordova plugin.

franky
  • 53
  • 10

1 Answers1

0

In your config.xml file, in platform ios configs, add <preference name="Orientation" value="all"/> and test again.

Lucas Z.
  • 435
  • 3
  • 11