Reputation: 8810
I need to change the back ground colour of the action sheet,
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];
please tell how to set the back ground color for action sheet.
Upvotes: 0
Views: 7641
Reputation: 4719
Please refer the post : iPhone development: How to create colored or translucent background for UIActionSheet?
That will be useful for you.
Jim.
Upvotes: 1