【发布时间】:2013-12-17 09:35:23
【问题描述】:
我有一个 UIActionSheet 从显示在单元格中的弹出窗口中的按钮调用。当我使用 iPhone 时 - 从屏幕底部调用 UIActionSheet,但现在我需要为 iPad 转换 UI - 所以现在 VC 显示在弹出窗口中,UIActionSheet 也显示在弹出窗口中。发件人显示在弹出框时,是否也可以从 iPad 屏幕底部显示UIActionSheet?
呈现UIActionSheet的代码是:
- (void) showActionSheet
{
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:nil
delegate:self
cancelButtonTitle:@"Отмена"
destructiveButtonTitle:nil
otherButtonTitles:@"Наличие несуществующего объекта", @"Некорректность значений атрибутов", nil];
[actionSheet showInView:self.view];
}
【问题讨论】:
标签: ios objective-c uipopovercontroller uiactionsheet