An open API service indexing awesome lists of open source software.

https://github.com/jfversluis/mauistoryboardsample

Sample code to demonstrate how to use a custom iOS Storyboard launch screen with .NET MAUI
https://github.com/jfversluis/mauistoryboardsample

dotnet dotnet-maui ios launchscreen storyboard

Last synced: 6 months ago
JSON representation

Sample code to demonstrate how to use a custom iOS Storyboard launch screen with .NET MAUI

Awesome Lists containing this project

README

        

Watch how it's made on YouTube: [![](https://img.shields.io/youtube/views/xkHNbrpi3ZQ?style=social)](https://www.youtube.com/watch?v=xkHNbrpi3ZQ&list=PLfbOp004UaYWu-meDkRN6_Y1verl96npI)

1. Create custom launch screen in Xcode (File > New > File and choose Launch Screen), see [here](https://github.com/jfversluis/MauiStoryboardSample/blob/main/MauiStoryboardSample/Resources/LaunchScreen.storyboard).
2. Add it to .NET MAUI project Resources folder, see [here](https://github.com/jfversluis/MauiStoryboardSample/blob/main/MauiStoryboardSample/Resources).
3. Make sure that it has the build action `InterfaceDefinition`, see [here](https://github.com/jfversluis/MauiStoryboardSample/blob/main/MauiStoryboardSample/MauiStoryboardSample.csproj#L58).
4. Include custom launchscreen only for iOS (in csproj), see [here](https://github.com/jfversluis/MauiStoryboardSample/blob/main/MauiStoryboardSample/MauiStoryboardSample.csproj#L57).
5. Exclude `MauiSplashScreen` for iOS (in csproj), see [here](https://github.com/jfversluis/MauiStoryboardSample/blob/main/MauiStoryboardSample/MauiStoryboardSample.csproj#L41).
6. Specify launch screen in `info.plist`, see [here](https://github.com/jfversluis/MauiStoryboardSample/blob/main/MauiStoryboardSample/Platforms/iOS/Info.plist#L31-L32).

> [!NOTE]
> As of iOS 16.4 your app has to be code signed in order for the splash screen to show up. If you do not sign your app, the splash screen will always show black.