Xamarin.Android 開發中遇到旋轉屏幕錯誤

錯誤信息 : System.NotSupportedException: Unable to find the default constructor on type App5.MyFragment.  Please provide the missing constructor. 錯誤圖片: 解決方法:乾脆不讓他旋轉屏幕,當下QQ、微信等app都沒有旋轉等功能,且旋轉後重新繪製界面影響用戶使用。
相關文章
相關標籤/搜索