I am new to iphone development.I want to create a translucent button with the text "exit".How can i create it? Thanks.
A:
Please create .png image with Translucent effect and "exit" text on that image.
Once you have image ready create Custom UIButton and set image for that button.
Thanks,
Jim.
Jim
2010-04-19 11:45:17
A:
the .png format supports alpha transparency (which you can set in the graphics app you use to make the button). For more info on iPhone graphics, see the iPhone OS ref.
Dave Everitt
2010-04-19 11:46:05
+1
A:
You can also use Interface Builder and not have to fiddle with PNG transparency.
On the "Attributes" pane for that "custom"-type button, the "View" subpane has an "Alpha" slider. Set that to (for example) 0.50 to make it translucent. Set the "Title" in the configuration to "exit". Done.
Joseph Beckenbach
2010-04-19 14:36:10