how can i make a button such that user only see the text on it but not the button in iphone sdk ? i tried to lower its alpha value but even then it appears a little
views:
24answers:
3
+1
A:
If you just don't want to see the rounded rectangle of the button then set the button type to custom.
skorulis
2010-08-30 06:41:18
i did it but it still shows button shadow on its back i want that user just see the text on it but should not appear to be a button still clickable
pankaj kainthla
2010-08-30 06:45:11
thanka a lot it is done
pankaj kainthla
2010-08-30 07:12:09
+1
A:
You can follow this workaround by using a UILabel instead of a UIButton. This does not answer directly to your question, as setting a custom type should and since it does not can you post some code?
rano
2010-08-30 06:54:43
+1
A:
Create your button of type UIButtonTypeCustom and add:
[myButton setBackgroundColor: [UIColor clearColor]];
hotpaw2
2010-08-30 07:09:21