[英]How to solve, UIAlertController (ActionSheet) is Crashed on iPad in xamarin.ios native app?
我们已经实施UIAlertController
我们xamarin.ios本机应用程序和它的做工精细的iPhone,但其在iPad上的崩溃。 请指导解决此问题。 我们的代码是
var alertController = UIAlertController.Create(null, "Select", UIAlertControllerStyle.ActionSheet);
alertController.AddAction(UIAlertAction.Create("Photo/Image", UIAlertActionStyle.Default, action => {
/* handle your action */
}
alertController.AddAction(UIAlertAction.Create("Files", UIAlertActionStyle.Default, action => {
/* handle your action */
}
PresentViewController(alertController, true, null);
它在iPhone上工作正常,但在iPad上崩溃了...请帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.