Search code examples
iosios7uiactionsheet

iOS 7 UIActionSheet Transparent


I am testing a few things within iOS 7 on both the simulator and real device. I have a few UIActionSheets, that used to have a UIActionSheetStyleBlackOpaque style. Since reading Apples guidance here I understand that you are no longer allowed to style a UIActionSheet.

Within iOS 7 all of my Action Sheets are showing up with completely transparent backgrounds and have none of the expected bordering / button outlines / etc.

Has anyone else experienced this and know how to get the default iOS 7 style?

For info, I am compiling my App with a base SDK of 6.1 - could this cause an issue?


Solution

  • Ouches , I run into the same issue . Luckily , I have it resolved . set the background color and alpha