当前位置: 动力学知识库 > 问答 > 编程问答 >

iphone - How to remove the default UISearchBar len?

问题描述:

I was looking for this for a while & I can't find anything about it!

How can I remove/hide this len, in the left on the searchBar Thank you!

网友答案:

this is not supported but the UISearchBar, however you can screen capture the UISearchBar and remove the magnifying glass with some image editing tool and then use this image with a UIButton and mimic the functionality of the UISearchBar.

分享给朋友:
您可能感兴趣的文章:
随机阅读: