开发者

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

开发者 https://www.devze.com 2023-02-18 06:58 出处:网络
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技巧

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

精彩评论

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

关注公众号