开发者

Rectangle Button - Change the 'Grey colour' after tapped?

Ok so I use the iPhone SDK

On IB I used a rectangle button, once you press that button and hold, it goes a gray colour - I want to change that gray color to an image I made.

开发者_JAVA技巧

So once the user touches the button, it goes to the image which I made.

Thanks


In Interface Builder, you'll need to change the button's type to "custom" and provide images for each control state that you need. In this case, it sounds like you'll need to set an image for "default" state and "highlighted" state.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜