How to load gif on launch screen of xamarin forms iOS application

Meera Khandelwal 1 Reputation point
2021-09-21T06:41:28.18+00:00

Following approaches I tried with unsuccessful attempt,

  • Tried integrating gif directly on launch screen, which couldn't seem to be possible
  • Tried adding multiple images in Xamarin native iOS project to use animation through custom native UIView, UIViewController and calling Xamarin MainPage after that. Here not able to load MainPage after UIViewController.
  • Tried using Lottie animation library. When used in MainPage, default launch screen is shown, which is not required.
  • Tried creating xib file and to set as launch screen. Here l was trying to use Lottie animation on xib which is not visible.

Please help me here, or point out if I am doing something wrong.

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

1 answer

Sort by: Most helpful
  1. John H 31 Reputation points
    2021-09-21T10:34:21.567+00:00

    iOS doesn't allow any code to run during the launch screen, and so you cannot animate images etc.

    0 comments No comments