开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜