views:

521

answers:

1

Anyone know anyway to tint uiactionsheet in uikit?

+2  A: 

Yes, because it's an UIView (as described by kmit) you can use the following commands: addSubview, thereby you can add your own background and order it back with sendSubviewToBack. (you can delete the old background by this: [[youralert.subviews objectAtIndex:0] removeFromSuperview])

Tim van Elsloo
[[actionsheet.subviews objectAtIndex:0] removeFromSuperview]; removes the first button on the action sheet and objectAtIndex:1 removes the second button and so on
DotSlashSlash
there are only 3 subviews which are the three buttons
DotSlashSlash
aha actually yeh the addSubview: and sendSubviewToBack: works a beauty :)
DotSlashSlash