JackyJohnson
JackyJohnson

Reputation: 3126

changing UIActionSheetStyle makes no difference in iOS7?

Is this some bug in iOS7? I took screenshots with

UIActionSheetStyleBlackOpaque,
UIActionSheetStyleBlackTranslucent,
UIActionSheetStyleAutomatic,
UIActionSheetStyleDefault.

It's all the same.

UIActionSheet *action = [[UIActionSheet alloc] initWithTitle:@"Title" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"OK" otherButtonTitles:nil, nil];
[action setActionSheetStyle:UIActionSheetStyleBlackTranslucent]; // changing enumerable here shows exactly same result
[action showInView:_controlsView];

Upvotes: 0

Views: 387

Answers (1)

iBhavin
iBhavin

Reputation: 1261

As per this UIActionSheetStyle constants are unused in iOS 7.

Upvotes: 1

Related Questions