简体   繁体   中英

how to set image view color as textfield background color

In my home page I added an image to the view and also added textfield over the imageview. I want to show the image color as textfield back ground color 在此处输入图片说明

只需致电:

textField.backgroundColor = [UIColor clearColor];

在情节提要中设置文本字段的背景色的ClearColor

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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