简体   繁体   中英

How to fix warning appears when trying open storyboard of xamarin.ios application?

When I am trying to open my storyboard its no controls appear in UIController and show error like below screen

当我使用UIConrollerView设计任何屏幕时都很好,但是当尝试在第二天打开时,会出现此错误,我不知道为什么

在此处输入图片说明

It is the storyboard rendering issue in Xamarin.iOS.

Solution:

Set this flag in the viewcontroller which is related to storyboard.

[System.ComponentModel.DesignTimeVisible(false)]
public partial class ViewController : UIViewController

Refer to Here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM