Xamarin.iOS注册问题?
在我的设备(iPhone6+)上运行时,当我执行以下代码行时,出现以下错误:Xamarin.iOS注册问题?,xamarin.ios,xamarin,Xamarin.ios,Xamarin,在我的设备(iPhone6+)上运行时,当我执行以下代码行时,出现以下错误: NSUserDefaults.StandardUserDefaults.SetString(value, preference); 我得到这个错误: The ObjectiveC class 'NSUserDefaults' could not be registered, it does not seem to derive from any known ObjectiveC class (including NS
NSUserDefaults.StandardUserDefaults.SetString(value, preference);
我得到这个错误:
The ObjectiveC class 'NSUserDefaults' could not be registered, it does not seem to derive from any known ObjectiveC class (including NSObject).
这对我来说很好,所以它不像听起来那么简单。我建议您提交一个bug(),其中包含一个完整的解决方案,可以用来重现这个问题。我假设这就是问题所在。在调用
UIApplicationMain
之前,可能有几件事情(很好或根本)不起作用。是的。这有点像转移视线