Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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.

 

Published March 20, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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