Visual Studio 2017에서 Xamarin 양식 서식 파일을 사용하여 작성된 응용 프로그램이 있습니다. 정상적으로 작동하지만 시작 화면에서 이미지를 변경하려고합니다.Xamarin Forms 응용 프로그램에서 스플래시 이미지 변경
고해상도이며 크기에 맞게 이미지가 있지만 이미지가 너무 크고 iOS 앱이로드 될 때 이미지의 일부만 볼 수 있습니다. 여기
내가 LaunchScreen.Storyboard의 xamarin.ios 프로젝트<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6245" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="X5k-f2-b5h">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6238"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="gAE-YM-kbH">
<objects>
<viewController id="X5k-f2-b5h" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Y8P-hJ-Z43"/>
<viewControllerLayoutGuide type="bottom" id="9ZL-r4-8FZ"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="yd7-JS-zBw">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" misplaced="YES" image="test1.png" translatesAutoresizingMaskIntoConstraints="NO" id="23">
<rect key="frame" x="270" y="270" width="60" height="60"/>
<rect key="contentStretch" x="0.0" y="0.0" width="0.0" height="0.0"/>
</imageView>
</subviews>
<color key="backgroundColor" red="0.20392156862745098" green="0.59607843137254901" blue="0.85882352941176465" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="23" firstAttribute="centerY" secondItem="yd7-JS-zBw" secondAttribute="centerY" priority="1" id="39"/>
<constraint firstItem="23" firstAttribute="centerX" secondItem="yd7-JS-zBw" secondAttribute="centerX" priority="1" id="41"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="XAI-xm-WK6" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="349" y="339"/>
</scene>
</scenes>
<resources>
<image name="test1.png" width="180" height="180"/>
</resources>
에 TEST1.png에 이미지 이름을 변경했습니다, 난 않고 이미지 크기를 조정할 수있는 방법 코드가 있습니다 실제 이미지 자체를 변경 하시겠습니까?
덕분에
팔로우 [이 가이드] (https://developer.xamarin.com/guides/ios/application_fundamentals :
이 링크 자세히 ContentMode을 이해하는 데 도움이 될 것입니다/working_with_images/launch-screens /). 필요한 모든 단계를 보여줍니다. –
이미지가 화면에서 보이지 않습니까? 스플래시 화면의 스크린 샷을 제공 할 수 있습니까? –
모두 감사합니다. 가이드가 매우 도움이됩니다. –