开发者

pop up a window in xcode

i have a search bar in navigation bar now whenever user press on that i want to drop down a view having 2 text field and a cancel button , but i dont know how to do that

kindly s开发者_如何学Pythonuggest me

Thanks


You could try making your view controller implement the UISearchBarDelegate protocol and then implementing the searchBarShouldBeginEditing: method (by having it show your text fields + button, and returning NO).

The whole idea feels like a possible HIG violation, so proceed at your own risk if you're submitting to the App Store, as Apple could reject your app for behaving in a particularly non-standard way.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜