开发者

Setting shadow color for the title of UIButton in the nib

开发者 https://www.devze.com 2023-01-21 06:11 出处:网络
I开发者_Go百科 am developing a simple iPhone application. I want to set the shadow color for the title of a UIButton in the nib.

I开发者_Go百科 am developing a simple iPhone application. I want to set the shadow color for the title of a UIButton in the nib.

Can someone help me in finding the set shadow color for the title in the nib?

Thanks and Regards, Deepa


Well, in the Interface Builder you have to select the UIButton and open the inspector. Then you'll see the different properties of the UIButton. There are two properties called Shadow, the first one is to set the Shadow Color, the other one is to set the Offset of the Shadow. Try aout like you wanna have it, you'll se the changes immediately.

That's all, pretty simple.

0

精彩评论

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