Juan Martinez 6 Posted July 6, 2020 Hello I am migrating my production application to Delphi 10.4 (Iphone/Ipad app). I work with an Iphone 6s I could do it easily but when I run the app on iphone6 the content does not fill the screen. There's a big black margin at the top and bottom. I also don't see the splash screen (all in black) I tried another app and the same thing happens. I imagine that it could be due to some problem with the LauchScreen and storyboards theme but I don't know how to solve it Has anyone tried your app on an iphone6 ? I think there are some clues in the following links, but I don't know what I can do from Delphi https://developer.apple.com/forums/thread/128138 The attached image is useful to understand the problem. I've tried putting it on fullscreen but the problem remains. Thanks. Share this post Link to post
Dave Nottage 557 Posted July 6, 2020 Delete the info.plist.TemplateiOS.xml file and rebuild. Alternatively, make it look like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <%VersionInfoPListKeys%> <%ExtraInfoPListKeys%> <%StoryboardInfoPListKey%> </dict> </plist> 1 Share this post Link to post
sjordi 39 Posted July 7, 2020 Yes, as soon as you have the storyboard file created, it's going to be fullscreen. If you have a storyboard file, delete it. Launch Delphi, select iOS as your target and run the app. That should be enough 1 Share this post Link to post
Juan Martinez 6 Posted July 8, 2020 On 7/7/2020 at 12:03 AM, Dave Nottage said: Delete the info.plist.TemplateiOS.xml file and rebuild. Alternatively, make it look like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <%VersionInfoPListKeys%> <%ExtraInfoPListKeys%> <%StoryboardInfoPListKey%> </dict> </plist> Thank you very much David! You are great. Share this post Link to post
marcin71 0 Posted December 20, 2020 after implementing this solution i lost my splash screen. is anybody help me ? Regards Marcin Share this post Link to post
Rollo62 536 Posted December 21, 2020 There were cases that old or wrong Storyboard is cached by the phone. What helps in my case, is re-create as explained above. And remove app from phone, reboot phone, to be sure cache is deleted. Then the new installation should show the current screen. Share this post Link to post
Alex40 5 Posted January 10, 2021 On 12/20/2020 at 8:35 PM, marcin71 said: after implementing this solution i lost my splash screen. is anybody help me ? Regards Marcin I have the exact same problem and deleting the cache and app, restarting the iphone did'nt help. Any advice? Share this post Link to post
John van de Waeter 7 Posted January 25, 2021 Not sure if this is of any help, but I had similar problems. After several unsuccessful attempts I tried this: - Deleting ALL IOS stuff from the sourcedir (templates, directory iosdevice64, directory launchscreen.Template) - Deleting ALL stuff regarding my app from the Mac - Setting up newly all Icons in Projects/Options making sure that every icon (splash, app, launcher) have their own file The last one in bold!. I cannot look behind the scenes where delphi collects the files for the deploy-list, but it seemed to me that that it would not add a source file if it was already there. Lazy as I am, I used the same 1024x1024 for several images in the project/options/icons list. Only 1 appeared in the deploy-list. When I gave every icon its own file, they all appeared in the deploy list. - Rebuild, worked! Share this post Link to post
JOEPRET 1 Posted August 17, 2021 On 7/7/2020 at 12:03 AM, Dave Nottage said: Delete the info.plist.TemplateiOS.xml file and rebuild. Alternatively, make it look like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <%VersionInfoPListKeys%> <%ExtraInfoPListKeys%> <%StoryboardInfoPListKey%> </dict> </plist> Hi Dave, thank you for this perfect answer, much appreciated. Worked for me. 1 Share this post Link to post