简体   繁体   English

更改图像的高亮颜色

[英]Changing highlited color of the image

I have an UIButton with image in it. 我有一个带有图像的UIButton。 When it pressed image is highlited, and it is good. 按下时图像高亮显示,效果很好。 But it highlited with a gray color. 但是它以灰色突出显示。 I want for example red or green. 我想要例如红色或绿色。 What should I change in StoryBoard or in the code? 我应该在StoryBoard或代码中进行哪些更改?

How about Highlight Tint? 高光色调怎么样? 在此处输入图片说明

It's in the Attributes Inspector for the button 在按钮的“属性”检查器中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM