Jump to content
ajefferson

How to create IOS app using full iphone screen

Recommended Posts

Hi,

I created a simple multi-device "Hello World" app in Delphi 11.2 and can run in on my iPhone 13 Pro but get large black borders top and bottom. If I rotate the phone to landscape I get slightly larger black bars on the left and right sides.

 

I'm not bothered about going up beyond the notch but it would be useful to at least get nearer to the edges of the screen.

 

Is there something I'm missing in terms of layout or deployment settings which will allow me to use more of the screen on IOS?

 

Thanks,

 

Adam

IMG_2628.jpeg

IMG_2627.jpeg

Share this post


Link to post

Reminds me of the time they introduced iOS 7.
Did you start from scratch?
If not remove all iOS entitlement files from your project first

If you need to run full screen without title bar area

BorderStyle = none

Project > Options > Version Info

Add key:

Keys Value
Theme No TitleBar

Share this post


Link to post
4 hours ago, sjordi said:

If not remove all iOS entitlement files from your project first

I think you mean info.plist.TemplateiOS.xml

Share this post


Link to post
3 hours ago, Dave Nottage said:

I think you mean info.plist.TemplateiOS.xml

Yes, along with Entitlement.TemplateiOS.xml

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×