更改ios8中的UISearchBar取消按钮文本-ChangeUISearchBarcancelbuttontextiniOS8
作者:立案whan_597 | 来源:互联网 | 2023-05-23 18:00
Idliketochangethetextfrom¨Cancel¨to¨Done¨oftheCancelbuttoninsidetheUISearchBariniO
I'd like to change the text from ¨Cancel¨to ¨Done¨ of the Cancel button inside the UISearchBar in iOS 8. I am using UISearchController. I've tried different approaches for iOS 6 and iOS 7 and they do not work. Has anybody done this?
我想把文本从¨¨¨¨完成的取消取消按钮在UISearchBar iOS中8。我用UISearchController。我为iOS 6和iOS 7尝试过不同的方法,但它们都不起作用。有人做过吗?
11 个解决方案