大佬教程收集整理的这篇文章主要介绍了Splitview中的UIActionsheet与iOS 5.1更新崩溃,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
if(lpm != null) //Long Press Menu / Action Sheet lpm = null; lpm = new UIActionSheet("SELEct an action to perform on " + Application.MO.CurrentList[indexPath.Row].Name); foreach(var button in buttonList) lpm.AddButton(button); lpm.CancelButtonIndex = buttonList.Count - 1; lpm.Style = UIActionSheetStyle.blackTranslucent; lpm.ShowFrom(tHelist.RectForRowATindexPath(indexPath),this.View,truE); lpm.Clicked += delegate(object sender,UIButtonEventArgs e2) { lpm.DismissWithClickedButtonIndex(e2.buttonIndex,falsE); Application.MO.RespondToLongPressSelection(e2.buttonIndeX); };
if (UIInterfaceOrientationIsPorTrait([UIApplication sharedApplication].statusBarOrientation)) [sortSheet showInView:self.view.window]; else [sortSheet showFromBarButtonItem:sender animated:YES]; // rightBarButton
已经报道了几个radar bugs.但请提交新的,以便他们知道每个人都在发生这种情况.
如果你不在视图控制器中使用:[UIApplication sharedApplication] .keyWindow来@L_696_13@显示视图的主窗口.
以上是大佬教程为你收集整理的Splitview中的UIActionsheet与iOS 5.1更新崩溃全部内容,希望文章能够帮你解决Splitview中的UIActionsheet与iOS 5.1更新崩溃所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。