Как установить фоновый цвет для UIActionSheet в iPhone? - PullRequest
0 голосов
/ 05 мая 2010

Мне нужно изменить фоновый цвет листа действий,

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

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

1 Ответ

1 голос
/ 05 мая 2010

Пожалуйста, обратитесь к сообщению: Разработка iPhone: Как создать цветной или полупрозрачный фон для UIActionSheet?

Это будет полезно для вас.

Джим.

...