简体   繁体   English

Xamarin IOS LaunchScreen.Storyboard无法为“图像”视图选择图像

[英]Xamarin IOS LaunchScreen.Storyboard cant select image for Image view

I'm using (Windows)Visual Studio 2017 我正在使用(Windows)Visual Studio 2017

I follow this instruction step by step 我会逐步遵循此说明

1 - Add Asset and upload all images needed 1-添加资产并上传所需的所有图像
2 - Create LaunchScreen.storyboard 2-创建LaunchScreen.storyboard
3 - Set LaunchScreen.storyboard in Info.plist 3-在Info.plist设置LaunchScreen.storyboard
* The Problem in LaunchScreen.storyboard when I add Image View and select Image *当我添加Image View并选择图像时, LaunchScreen.storyboard的问题

在此处输入图片说明

When i Click on down arrow to select image from assets it automatically open upload dialog and when I select image nothing happened 当我单击向下箭头以从资产中选择图像时,它会自动打开上传对话框,而当我选择图像时,什么也没有发生

在此处输入图片说明

I got this phenomenon in Xarmain.Forms project like you. 我在Xarmain.Forms项目中像您一样遇到了这种现象。 Finally,I slove this by Once you compile(Ctrl+Shift+B) the project, you can add the image. 最后,我通过编译(Ctrl + Shift + B)项目来添加图像。 You can try. 你可以试试。 Wish you success. 祝你成功。 Operating as follows 操作如下

This is problem with VS only, try restarting your VS once. 这仅是VS的问题,请尝试重新启动VS。 You can try updating it also. 您也可以尝试更新它。 When I faced this issue I was fortunate to have a mac with me, it works absolutely fine on VS for Mac. 当我遇到这个问题时,我很幸运能拥有一台Mac,它在VS for Mac上绝对可以正常工作。 So if you want a quick resolution you can trying doing only this part on VS for Mac. 因此,如果您想快速解决问题,可以尝试在VS for Mac上仅执行此部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS Launchscreen.storyboard图像未显示 - iOS Launchscreen.storyboard Image not showing LaunchScreen.storyboard 的背景图片 - Background image for LaunchScreen.storyboard 单个 Launchscreen.storyboard 启动画面未按比例显示在 Xamarin Z645024253191298AE688A3 中的各种 iOS 设备中 - Single Launchscreen.storyboard splash image not displaying proportionally in various iOS devices in Xamarin Forms 在 iOS LaunchScreen.storyboard 中放置图像会完全禁用启动屏幕 - Placing Image in iOS LaunchScreen.storyboard disables launch screen completely iOS:LaunchScreen.storyboard上的新图像未显示更新应用 - iOS: new image on LaunchScreen.storyboard not showing updating app 为LaunchScreen.storyboard放弃图像棺材 - Abandon image cassetts for LaunchScreen.storyboard LaunchScreen.storyboard无法替换图像 - LaunchScreen.storyboard can’t replace image LaunchScreen.storyboard中的SuperScript(适用于iOS的Xamarin.Forms中的AttributedString) - SuperScript in LaunchScreen.storyboard (AttributedString in Xamarin.Forms for iOS) 如果在LaunchScreen.storyboard上使用该图像,则更改时图像不会更新 - Image does not update when changed if that image is used on LaunchScreen.storyboard xcode7 launchScreen.storyboard无法添加图像 - xcode7 launchScreen.storyboard can not add image
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM