xamarin-macios/msbuild/Xamarin.HotRestart.PreBuilt
Rolf Bjarne Kvinge f05ea25971
[msbuild] Don't use storyboards / asset catalogs in the prebuilt HotRestart app bundle. (#21237)
Use the Info.plist to set the launch image and app icons for the app, instead
of using a storyboard / asset catalog.

One minor change is that the ".NET" text in the launch image is not located in
exactly the same place anymore. This is because it was rather complicated to
get the background color of the launch image correct. I tried numerous
options, neither of them fully work:

* Set the background color in the launch sreen png itself: this will create
  black or white borders around the image.
* Use svg: svg doesn't work.
* There doesn't seem to be a way to specify multiple launch screen images, and
  have iOS pick the best one depending on the target device size.

The end solution was to provide a really big launch screen png, so that there
won't be any black or white border on any of today's devices. The downside is,
as mentioned, that the text is not located in the same place once iOS has
adjusted the size of the image to fit the current device.

The big advantage is that this means we won't need to install the iOS
simulator on CI during our product build, we only need Xcode itself (we'll
still need all the simulators for our tests).

iPhone launch screen:

![IMG_0423](https://github.com/user-attachments/assets/761f7ed9-73f9-4c2b-821f-6eb87010f901)

iPad launch screen:

![IMG_0146](https://github.com/user-attachments/assets/b71c2f0f-6cf7-4ad4-b6c8-013617287ed4)
2024-09-17 06:56:07 +02:00
..
Xamarin.PreBuilt.iOS [msbuild] Don't use storyboards / asset catalogs in the prebuilt HotRestart app bundle. (#21237) 2024-09-17 06:56:07 +02:00
.gitignore Make our local .NET the default .NET for the build. (#15086) 2022-06-07 10:11:02 +02:00
Makefile [dotnet] Parameterize the pack names. (#18732) 2023-08-29 10:06:46 +02:00
Xamarin.PreBuilt.sln Added Hot Restart support into the SDK (#12293) 2021-08-05 09:19:51 +02:00