Screen orientation work in Android, but not work in IOS, and I don't know why. :( --sad . I need helps


#1

import { ScreenOrientation } from ‘@ionic-native/screen-orientation’;
ionViewDidLoad() {
this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.LANDSCAPE).then(e =>{
do_some_thing();
});
}


#2

Oh god, I just forget to reinstall screen-orientation.