簡體   English   中英

Xamarin.Forms iOS storyboard文件未顯示。

[英]Xamarin.Forms iOS storyboard not showing, even after being built and set in the Info.plist file

Titles says it all - I've been able to connect a Mac to Xamarin.Forms app so I can use the iOS Designer to (successfully) build the LaunchScreen.storyboard file; 但是即使在 Info.plist 文件的 Visual Assets 中將其設置為啟動屏幕后,它仍然具有基本的 Xamarin 啟動屏幕(帶有淺藍色背景和 X 圖標的那個)。

這是在舊的 iPhone 6S 上測試的。

謝謝!

  1. 在 info.plist 中配置 LaunchScreen.storyboard,確保名稱與您的文件名相同:

在此處輸入圖像描述

  1. 關閉您的 visual-studio。 刪除 Xamarin.forms 項目和 Xamarin.iOS 項目中的bin/obj文件夾。

在此處輸入圖像描述

在此處輸入圖像描述

  1. 卸載舊 iPhone 6S 中的應用程序。

  2. 重新打開您的項目,清理並重建,然后再次安裝您的應用程序。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM