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
2009-08-19 18:56:21
[[actionsheet.subviews objectAtIndex:0] removeFromSuperview]; removes the first button on the action sheet and objectAtIndex:1 removes the second button and so on
DotSlashSlash
2009-08-19 22:21:09
there are only 3 subviews which are the three buttons
DotSlashSlash
2009-08-19 22:45:45
aha actually yeh the addSubview: and sendSubviewToBack: works a beauty :)
DotSlashSlash
2009-08-19 23:01:57