With Delphi 10.3.1, you can build applications for the iPhone X series devices and iPad Pro with native resolution support.
To support the newer resolutions, the overall configuration and some of the image names have changed. While this applies to new projects, existing projects opened with 10.3.1 require a couple of quick project changes.
- Go to the Deployment Manager window
- Click on the Revert to Default button
The steps above, provided by MVP Dave Nottage (thanks Dave!), work for the most common cases, but they won’t preserve the existing configuration. See “Additional Information” below for steps to manually change your existing project configuration, instead.
While working to add support for more launch images (addressing the iPhone X family and the iPad Pro family of devices) for RAD Studio 10.3.1, we decided to change the naming scheme used in already existing launch image filenames for consistency.
For this reason, there is a potential issue for device models whose launch image files were renamed in the 10.3.1 Rio release. The following table summarizes the changes in the launch image filenames and the affected device models:
|Old launch image filename||New launch image filename||Affected device models|
|Defaultfirstname.lastname@example.org||Defaultemail@example.com||iPhone 5, 5s, 5c and SE plus iPod touch (6th generation)|
|Defaultfirstname.lastname@example.org||Defaultemail@example.com||iPhone 6, 6s, 7 and 8|
|iPhone 6 Plus, 6s Plus, 7 Plus and 8 Plus|
|iPhone X and XS|
|iPad Air, Air 2, Mini 2, Mini 3, Mini 4, 9.7-inch (4th generation), 9.7-inch (5th generation), 9.7-inch (6th generation) and 9.7-inch Pro|
In order to enable the native resolution of the iPhone XS model, the Info.plist file must have the following declaration:
The launch images are being declared in the Info.plist file using the new naming scheme, but the launch image files are being deployed with the app using the old naming scheme (from the 10.3 Rio release or older versions).
This naming scheme mismatch is causing the iOS runtime to not be able to choose a launch image for the iPhone XS model and its native resolution is disabled. Making the changes outlined above should resolve this, in case “Revert to Default” in the Deployment Manager doesn’t work.
Further information can be found in the following Quality Portal entry: RSP-23800