UIActionSheet на iPad не показывает кнопку отмены

Я пытаюсь показать кнопку отмены в UIActionSheet , но она не отображается, это приемлемое поведение? Пожалуйста, посоветуйте.

UIActionSheet *actionSheet = [[UIActionSheet alloc]
          initWithTitle:@"Are you sure you want to clear the cache?"
          delegate:self
          cancelButtonTitle:@"No"
          destructiveButtonTitle:@"Yes"
          otherButtonTitles:nil];

[actionSheet showInView:self.view];  

[actionSheet release];

28
задан Community 8 February 2017 в 14:32
поделиться