开发者

How can I dismiss the view appeared by touching Add item in UINavigationController?

开发者 https://www.devze.com 2022-12-28 06:58 出处:网络
I have added add(+ symbol button) button to my navigation controller. When I click it a view appe开发者_如何转开发ars from bottom. I added a navigation bar and two buttons to it.

I have added add(+ symbol button) button to my navigation controller.

When I click it a view appe开发者_如何转开发ars from bottom. I added a navigation bar and two buttons to it.

One save and one cancel button. And the view have one textEdit box. After editing I can save or cancel. If I touch cancel I need the view to disappear like it should go down again.

I think all iPhone , iPodTouch users use it. Like when they touch Add item then a view appears from bottom and when they cancel it goes down again. How can I make in this way in my application.


Maybe you're talking about a UIActionSheet?!?

http://developer.apple.com/IPhone/library/documentation/UIKit/Reference/UIActionSheet_Class/Reference/Reference.html

0

精彩评论

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