开发者

Pickers like a keyboard

Is it possible to get a double picker to appear from the bottom of a screen when a certain button is selected? And is it possible to remove a value from a picker if 开发者_如何学JAVAit was already selected?


Of course it's possible. I did that for an app just this summer. But you'll have to code the component yourself.

My suggestion is to create a class which has a UIPickerView member; this class, when instantiated and sent a message (like -showInView:), will make the view slide up. You'll need to have a delegate protocol for the class; it will probably make sense to have its delegate also implement UIPickerViewDelegate and UIPickerViewDataSource.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜