开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜