Skip to main content

Support Article

Application does not display in landscape orientation

SA-75151

Summary



In the Pega custom iOS application on Pega Mobile Express, the application does not display in landscape orientation on rotating the iPhone sideways.


Error Messages



Not Applicable


Steps to Reproduce

  1. Open the application on the iPhone.
  2. Rotate to landscape orientation. The content is not rotated.


Root Cause



A software use or operation error.

By default, landscape orientation is blocked on iPhone.



Resolution



Perform the following local-change:
  1. Set the container.ios.supportedIPhoneScreenOrientations property in the Custom.properties file.
  2. Uploaded the file by setting the below landscape values,

    container.ios.supportedIPhoneScreenOrientations=portrait,landscapeLeft,landscapeRight

    This file must be present in the root directory of the assets.zip file.
     
  3. Rebuild the iOS Application Package (IAP) after uploading the zip file.

 
Suggest Edit

Published March 20, 2019 - Updated October 8, 2020

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us