Search code examples
iosdelphifiremonkeydelphi-xe8

Opening a project in landscape in iOS doesn't display correctly in Delphi XE8


When I open my projects in landscape in iOS the form appears to be rotated 90 degrees to the right and also doesn't fit in the screen.

When I open it in portrait I don't get any problems. Also when I then turn it to landscape, it displays correctly.

Does anyone have a solution for this?

UPDATE: I've downloaded XCode 5.1.1 so I can compile iOS 7.1 This solves the rotation issue, but now it doesn't fill the whole screen.


Solution

  • I am using FXG component ActivityDialog. I used this component in the formCreate method which gave the problem. By removing it from the formCreate and moving it to the formActivate the problem is solved.