Use a more obvious placeholder image in iOS app instead of the app icon (#1636)

This commit is contained in:
Tim Sylvester
2023-09-13 15:27:52 -07:00
committed by GitHub
parent d8af4dcd53
commit 82ab67aa8d
3 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "missing.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -1807,7 +1807,7 @@ CLLocationCoordinate2D randomWorldCoordinate(void) {
}
- (UIImage *)mapView:(MLNMapView *)mapView didFailToLoadImage:(NSString *)imageName {
UIImage *backupImage = [UIImage imageNamed:@"AppIcon"];
UIImage *backupImage = [UIImage imageNamed:@"MissingImage"];
return backupImage;
}