On iOS 16 and below, the Apple logo is not displayed (Leagal labe is displayed). On iOS 17, both logo and legal are displayed.
- I have not specified layoutMergin for MKMapView.
- Map View attribute inspector has specified standard settings
Why is only Apple Logo is not displayed ?
Thank you
@SaturnR7 opened a code-level support request with their test project so we could look at it and share the answer back here for everyone's benefit.
Their sample project was one view controller with a MKMapView setup in Interface Builder, with constraints to size it to the view controller's safe area — nothing more than that. As described, the Apple Maps logo is missing when I run the app on iOS 16. but appears when run on iOS 18. I am building the app using Xcode 16 for testing.
The important factor here is that the test project has an Info.plist
as part of the source code with many of the standard keys defined, as is true for older Xcode projects. (Projects created with more recent versions of Xcode have moved most of these keys into build settings.) Further, this project set the GENERATE_INFOPLIST_FILE
build setting set to NO
.
This test project is missing the CFBundleDevelopmentRegion key in its Info.plist
file, and that is causing MapKit to not display the Apple Maps logo on older IOS versions. So, there's two ways to address this:
- Set
GENERATE_INFOPLIST_FILE
toYES
, so that Xcode addsCFBundleDevelopmentRegion
to the finalInfo.plist
automatically, with the default valueen
. - Add a
CFBundleDevelopmentRegion
to the existing Info.plist.
—Ed Ford, DTS Engineer