I’m trying to set a splash screen in a MAUI app project which compatible with Android and iOS
in the android app, I’ve managed to set up the splash screen as I wanted
but in the iOS app, no matter what I do, the splash screen is always just a white screen
I’ve set LaunchScreen.storyboard in the Platforms/iOS folder, defined the LaunchScreen in the info.plist file
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
also in the csproj file of the project configured the LaunchScreen storyboard file
<ItemGroup>
<InterfaceDefinition Include="PlatformsiOSLaunchScreen.storyboard" />
</ItemGroup>
the storyboard file I’ve create and configured on XCode project and just copied it to the MAUI project on my pc
Here is the LaunchScreen.storyboard file:
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" red="0.20784313725490194" green="0.52941176470588236" blue="0.92156862745098034" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="nP3-5F-Xa6" firstAttribute="centerX" secondItem="6Tk-OE-BBY" secondAttribute="centerX" id="OqC-ur-BJj"/>
<constraint firstItem="nP3-5F-Xa6" firstAttribute="centerY" secondItem="6Tk-OE-BBY" secondAttribute="centerY" id="h6i-LG-hb0"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
<resources>
<image name="splash_icon" width="192" height="192"/>
</resources>
</document>
anyone maybe go a working solution?
4