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
- Open the application on the iPhone.
- 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:
- Set the container.ios.supportedIPhoneScreenOrientations property in the Custom.properties file.
- 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.
- Rebuild the iOS Application Package (IAP) after uploading the zip file.
Published March 20, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.