I am making an application for IOS 8 using Cordova and Xcode 6. I installed the cordova plugin called [org.apache.cordova.dialogs]. My application is designed to work in portrait mode. Now the problem that I am facing is that when the device is rotated, the application remains as the portrait itself, but the alertview rotates. It works great with iOS 7. Is there a way to solve this problem. Any help is appreciated.
thanks
You need to install
<preference name="Orientation" value="portrait" />
in your config.xml file, and this should sort it, which will allow the OS not to allow any part of the application to rotate to landscape.
Source: https://habr.com/ru/post/977698/More articles:Finding Heights in Swift - iosIs there a common conversion specifier for printf? - cHow to generate .pch for a large number of headers? - c ++https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/977696/createprocess-error-206-the-filename-or-extension-is-too-long&usg=ALkJrhg_7qizTeh4TBZtaKWoRaUE1tJQNgError loading image file to S3 using java SDK SDK - javaAndroid studio cannot update with warning - androidHow to get expression (cos (alpha)) in labels? - rAndroid BluetoothAdapter Mocking - androidHow to use SFINAE to create two different implementations of the same method - c ++Using std :: enable_if for the return type of a template function to use SFINAE - compilation error - c ++All Articles