views:

268

answers:

1

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.

A: 

Please refer the post : http://stackoverflow.com/questions/1181272/iphone-development-how-to-create-colored-or-translucent-background-for-uiactions

That will be useful for you.

Jim.

Jim