I have been struggling with issuse for quite some time. Since I really can't find a solution, I hope someone here can help me.
I have a UIActionSheet that I want to have a different background color. Via
[[myAlert layer] setBackgroundColor:[UIColor redColor].CGColor];
I can change most of the color warnings. Here's what it looks like:

This is how I initialize the UIActionSheet:
UIActionSheet *styleAlert = [[UIActionSheet alloc] initWithTitle:AMLocalizedString(@"SELECT_PICTURE_TITLE", @"Überschrift des Actionsheets") delegate:self cancelButtonTitle:AMLocalizedString(@"CANCEL_BUTTON_TITLE", @"Abbrechen butten") destructiveButtonTitle:nil otherButtonTitles:AMLocalizedString(@"TAKE_PICTURE_BUTTON_TITLE", @"Bild aufnehmen button"), AMLocalizedString(@"CAMERA_ROLL_BUTTON_TITLE", @"Aus Bibliothek auswählen"), nil];
and
- (void)willPresentActionSheet:(UIActionSheet *)actionSheet { actionSheet.layer.backgroundColor = GLOBAL_TINT_COLOR.CGColor; }
I could not figure out how to set the border with the same color. Any ideas?
Thanks in advance!
source share