本文介绍了删除UISearchbar左侧的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以删除 UISearchbar
左侧的图片并添加新图片吗?
Can I remove the image on the left of an UISearchbar
and add a new image?
推荐答案
如果你的意思是放大镜,那么没有。没有公共API可以更改或删除它。只需使用 UITextField
。
If you mean the magnifying glass, then no. There's no public API to change or remove that. Just use a UITextField
instead.
这篇关于删除UISearchbar左侧的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!