Can i set different orientations for IPad and IPhone (Universal) app in cordova?

后端 未结 5 1150
失恋的感觉
失恋的感觉 2020-12-17 23:33

I am developing a cordova app for both Ipad and Iphone and i need the iphone app to support only for portrait and ipad app to support only for landscape. Right now i have se

5条回答
  •  萌比男神i
    2020-12-18 00:02

    For iOS Cordova application you can use cordova-custom-config plugin, which is very easy to use and requires changes only in config.xml.

    https://www.npmjs.com/package/cordova-custom-config#ios-example

提交回复
热议问题