Я создал UIActionSheet
UIActionSheet * action = [[UIActionSheet alloc]initWithTitle:@""
delegate:self
cancelButtonTitle: @"cancel"
destructiveButtonTitle: @"OK"
otherButtonTitles: nil];
[action showInView:self.view];
[action release];
В случае события кнопка отмены в UIActionSheet
Я хочу активировать событие UIBarButtonItem
, которое, на мой взгляд, есть.
У меня вопрос: как запустить событие кнопки (не касаясь кнопки) в методе делегата UIActionSheet