0
我有一個UIActionSheet
調用彈出窗口中顯示的按鈕。當我使用iPhone時 - 從屏幕底部調用UIActionSheet
,但現在我需要轉換iPad的UI - 所以現在VC顯示在彈出窗口中,並且UIActionSheet
也顯示在彈出窗口中。當發件人顯示在彈出窗口中時,是否可以在iPad屏幕底部顯示UIActionSheet
?UIActionSheet應該從彈出窗口中調用,但從主屏幕的底部顯示
用於呈現UIActionSheet的代碼是:
- (void) showActionSheet
{
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:nil
delegate:self
cancelButtonTitle:@"Отмена"
destructiveButtonTitle:nil
otherButtonTitles:@"Наличие несуществующего объекта", @"Некорректность значений атрибутов", nil];
[actionSheet showInView:self.view];
}