ios - 从UIActionSheet访问UIPopoverController

标签 ios ipad uipopovercontroller uiactionsheet

我从UIActionSheet呈现了UIPopopverController。如何从UIPopoverController代表UIActionSheet获取-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex

最佳答案

没有建立/执行的方式。

您可以考虑在代理上添加popoverController属性,并在显示弹出窗口之前进行设置。

关于ios - 从UIActionSheet访问UIPopoverController,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10008640/

相关文章:

ios - 如何在 UISplitViewController 中命名后退按钮

iphone - UIPasteboard 对象中的泄漏

ios - 如何在 iPhone 中将 ImageView 的位置设置为 UITableViewCell 的中心

objective-c - UIPopoverController 和 UIImagePickerController 崩溃

iphone - 如何从 UITableViewCell 获取 UITableView?

ios - 用户从位置设置返回查看 Controller 后捕获事件

ios - 应用程序随机崩溃,NSInvalidArgumentException 无法识别的选择器发送到实例 0x800000000000000

ios - 限制对 Firebase 存储的访问,以便只有我的应用可以访问它

ios - 自定义 UIPopoverBackgroundView : no drop shadow

ios - iPad 相机弹出窗口预览错误的旋转和缩放