开发者

How to change text Cancel button Searchbar of iPhone in Titanium?

开发者 https://www.devze.com 2023-01-07 23:18 出处:网络
When I set the value \'true\' to showCancel property in the method Titanium.UI.createSearchBar. It displays me the cancel b开发者_JAVA百科utton, but I would like to customize that button text to Go or

When I set the value 'true' to showCancel property in the method Titanium.UI.createSearchBar. It displays me the cancel b开发者_JAVA百科utton, but I would like to customize that button text to Go or anything else. How do I do that? Please give me suggestions. Thanks you so much.


I don't believe in Titanium Mobile SDK 1.4 you can change the button text.

As a work around you could add your own button to the screen and have it interact with the tableview. Not an ideal solution though.

Please find below the current documentation link.

http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.SearchBar-object

0

精彩评论

暂无评论...
验证码 换一张
取 消