Xamarin IOS Spash Screen not showing

Seth Isaacks 46 Reputation points
2021-10-18T18:40:16.223+00:00

@Leon Lu (Shanghai Wicresoft Co,.Ltd.) I have an Xamarin IOS App and I have been using a LauncScreen.storyboard to show a splash screen. It no longer works. I tried creating a new one...that didnt work either. All I get is the Xamarin default image. I have seen MULTIPLE threads of people having the same issue...but I have yet to see any kind of resolution. Does anyone have any answers???

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
0 comments No comments
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,551 Reputation points Microsoft Vendor
    2021-10-19T08:17:29.91+00:00

    Hello,

    Welcome to our Microsoft Q&A platform!

    I'm afraid there are two same .storyboard file named LaunchScreen.storyboard in your project. you could delete the bin and obj folder first , then you can created a new .storyboard file, and choose the new empty one as your splash screen to check if the issue still exists. You could refer to the following steps:

    1. Create a new .storyboard file. Right click the iOS project -> Add -> New Item ->Apple(User Interface)->EmptyStoryboard.
    2. Choose this SB as your splash screen. Double click info.plist, select Visual Assets, choose the new SB in Launch Screen drop down box.
    3. Open the info.plist by View Code , check UILaunchStoryboardName this key.
      <key>UILaunchStoryboardName</key>  
      <string>EmptyStoryboard1</string>  
      
      Then, you could run to check if you still get the Xamarin default image. If you choose the empty storyboard, the screen will be black, this proves that it works.
      Finally, you could style the storyboard by Mac.

    For more information, you can refer to https://learn.microsoft.com/en-us/xamarin/ios/app-fundamentals/images-icons/launch-screens?tabs=macos

    Best Regards,
    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful