Better buttons for iPhone game ? Non square?
Sorry if a stupid question, but I currently have an iPhone game which uses UI Kit butons for it's menu interface with a custom background. How could I impr开发者_开发问答ove the look and feel of my buttons - e.g how can I use custom non square shapes ?
Thanks all,
Martin
UIButton actually has support for non-rectangular shapes. Simply use an image file that has an alpha channel (such as PNG) that defines the bounds of the button.
精彩评论