Reputation: 251
I want to change background colors of UIActionSheet buttons.How can I do that ?
Upvotes: 0
Views: 1552
Reputation: 50129
I had the same issue and only clicked together a basic solution.
The core animation approach is superior but that may be simpler
https://github.com/Daij-Djan/DDUtils/tree/master/ui/M42ActionSheet%20%5Bios%5D
Disclaimer: mine ;) and also not the coolest code since its from 2010 but it should work fine
Upvotes: 0
Reputation:
There is no way to change UIActionSheet
button colors, apart from adding a destructive button that creates a red option. If you really want custom button colors, try making a custom UIActionSheet
like so: custom-uiactionsheet-using-core-animation
Upvotes: 1