How to set the back groung color to the UIActionSheet in iPhone?
Posted
by Madan Mohan
on Stack Overflow
See other posts from Stack Overflow
or by Madan Mohan
Published on 2010-05-05T11:30:36Z
Indexed on
2010/05/05
12:28 UTC
Read the original article
Hit count: 373
uiactionsheet
|objective-c
Hi Guys,
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.
© Stack Overflow or respective owner