2010-05-05 6 views
0

Je dois changer l'arrière couleur de fond de la feuille d'action,Comment définir la couleur de fond à l'UIActionSheet dans l'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]; 

s'il vous plaît dire comment définir la couleur du sol en arrière pour la feuille d'action.

Répondre

Questions connexes