I tried this, and the Cancel button below:
menu = [[UIActionSheet alloc] initWithTitle:@"Actionsheet"
delegate:self
cancelButtonTitle:@"Cancel"
destructiveButtonTitle:@"destructive"
otherButtonTitles:@"other1", nil];
menu.actionSheetStyle = UIActionSheetStyleDefault;
[menu addButtonWithTitle:@"Cancel"];
By default, the Cancel button is hidden , adding Cancel will show it.
BUT: if you have additional gui elements in your action sheet, you should
option1) position them to hide other buttons (to have a place for your gui element). Its setup, but may work in some situation OR
option2)
Actionsheet , gui .
: UIPickerView UIActionSheet ( )