我需要更改操作表的背景颜色,
UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@""
delegate:self
cancelButtonTitle:nil
destructiveButtonTitle:nil
otherButtonTitles:@"Create Estimate", @"Record Expense",@"Add Credit",@"Delete Customer", @"Cancel", nil];
actionSheet.actionSheetStyle = UIActionSheetStyleDefault;
actionSheet.destructiveButtonIndex=3;
[actionSheet showInView:appDelegate.window]; // show from our table view (pops up in the middle of the table)
[actionSheet release];
请告诉我如何设置操作表的背景颜色。
答案 0 :(得分:1)