2010-05-05 3 views
0

мне нужно изменить фоновый цвет листа действий,Как установить цвет задней поверхности на UIActionSheet в iPhone?

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]; 

, пожалуйста, как установить фоновую цвет действие листа.

ответ

Смежные вопросы