开发者

Set title for UIPopoverController containing results for UISearchDisplayController for UISearchBar in iPad

When using UISearchDisplayController with a UISearchBar in iPad, the default behavior is to display the results in a UIPopoverController with the title "Result开发者_Go百科s". How can I change the title? E.g. in the iPad App store, when you search, the popover's title is "Suggestions".


I was told this couldn't be done by an Apple rep. You'll have to create your own UIPopoverController instance.


Try UISearchDisplayController's searchResultsTitle method to set your iPad popover search results title.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜