Xamarin 有没有办法在iOS启动屏幕上添加一些动画或任何类型的移动效果?

Xamarin 有没有办法在iOS启动屏幕上添加一些动画或任何类型的移动效果?,xamarin,xamarin.ios,Xamarin,Xamarin.ios,我正在使用此启动屏幕代码: <?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" la

我正在使用此启动屏幕代码:

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
    <device id="retina4_7" orientation="portrait" appearance="light"/>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
        <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="375" height="667"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <subviews>
                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Test" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EcF-nC-k2o">
                                <rect key="frame" x="137.5" y="309.5" width="100" height="48"/>
                                <fontDescription key="fontDescription" type="system" pointSize="40"/>
                                <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                <nil key="highlightedColor"/>
                            </label>
                        </subviews>
                        <color key="backgroundColor" red="0.60084011130136983" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <constraints>
                            <constraint firstItem="EcF-nC-k2o" firstAttribute="centerX" secondItem="wza-7a-P1J" secondAttribute="centerX" id="4jn-PU-7OP"/>
                            <constraint firstItem="EcF-nC-k2o" firstAttribute="centerY" secondItem="wza-7a-P1J" secondAttribute="centerY" id="hft-du-2Xv"/>
                        </constraints>
                        <viewLayoutGuide key="safeArea" id="wza-7a-P1J"/>
                    </view>
                </viewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
            </objects>
            <point key="canvasLocation" x="53" y="375"/>
        </scene>
    </scenes>
</document>

我想做的是添加一些动画,比如一些移动的点或任何东西来显示这个屏幕上的一些运动

有没有办法做到这一点


寻找任何有使用经验的建议。

不幸的是,这是不可能的

来自苹果的文档

当您的应用程序启动并启动时,会立即出现启动屏幕 迅速替换为应用程序的第一个屏幕,给人留下深刻印象 您的应用程序速度快且响应速度快。启动屏幕不是一个 艺术表现的机会

这意味着,作为开发人员,我们将无法在此屏幕上添加任何动画

尽管如此,还是有一个“变通办法”。也就是说,创建一个完全相同的屏幕,该屏幕将是您的应用程序在启动解除后导航到的屏幕。在该屏幕中,您将能够完成所有需要的动画,动画完成后,您可以导航到应用程序的其他部分结束


希望这有帮助。-

不幸的是,这是不可能的

来自苹果的文档

当您的应用程序启动并启动时,会立即出现启动屏幕 迅速替换为应用程序的第一个屏幕,给人留下深刻印象 您的应用程序速度快且响应速度快。启动屏幕不是一个 艺术表现的机会

这意味着,作为开发人员,我们将无法在此屏幕上添加任何动画

尽管如此,还是有一个“变通办法”。也就是说,创建一个完全相同的屏幕,该屏幕将是您的应用程序在启动解除后导航到的屏幕。在该屏幕中,您将能够完成所有需要的动画,动画完成后,您可以导航到应用程序的其他部分结束

希望这能有所帮助。-

我所做的是创建一个“假飞溅”,在真实飞溅之后显示。例如,我的splash是一个空白屏幕,当应用程序加载时,将更改为带有乐透动画的页面,以便创建动画splash的效果

我要做的是创建一个“假飞溅”,在真实飞溅之后显示。例如,我的splash是一个空白屏幕,当应用程序加载时,将更改为带有乐透动画的页面,以便创建动画splash的效果


您不能向启动屏幕添加任何动画。你可以查一下。在启动屏幕后添加动画viewcontroller。不能向启动屏幕添加任何动画。你可以查一下。在启动屏幕后添加动画viewcontroller。