[英]How to remove Splash screen for both iOS and Android in Xamarin.Forms?
I'm new to Xamarin.Forms and was looking for a way to remove the Splash Screen and have my custom animated splash screen, does anyone have the idea about how to do it? 我是Xamarin.Forms的新手,正在寻找一种方法来删除“启动画面”并拥有我的自定义动画启动画面,有人知道如何做吗? Any help at all would be great!
根本没有任何帮助!
Thanks 谢谢
There is a blog post here that details how remove the default splash screen and replace this on iOS
, Android
, and WindowsPhone
. 有一个博客张贴在这里 ,详细说明如何删除默认的启动画面,并替换此上
iOS
, Android
和WindowsPhone
。
For example on the Android
example, they are talking about creating a new Activity
, prior to loading the default Activity
that will launch the Xamarin.Forms
App. 例如,在
Android
,他们正在谈论创建一个新的Activity
,然后再加载将启动Xamarin.Forms
App的默认Activity
。
Using that approach will most likely also work in all other platforms. 使用该方法很可能还将在所有其他平台上工作。 As you can do some platform-specific native animation set, prior to launching your real
Xamarin.Forms
App in your PCL
. 在
PCL
启动真正的Xamarin.Forms
应用程序之前,您可以做一些特定于平台的本Xamarin.Forms
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.