PushViewController after presentModalViewController like in Apples Alarm Clock app

Posted by Fabian on Stack Overflow See other posts from Stack Overflow or by Fabian
Published on 2010-02-05T11:42:39Z Indexed on 2010/04/08 16:33 UTC
Read the original article Hit count: 485

Hello together,

my Question is quite simple. I have an add-button. When I tap on it --> presentmodelviewController presents a UIViewController, which contains a simple Table with cells.

When I tap on a Cell, i want to display a new View using pushViewController, which automatically creates a "back Button".

At the top of it in this new View i have a Textfield, where I can enter some Text. When I tap the back-button, the view slides back to the add-View (which was presented using modalView...). Now i want the text edited in the view before to be placed in the Label of the first row (cell) on which I tapped.

So I want to do this for 5 cells. Each of them presenting another xib.

Please, can anyone help? Thanks for your helpful replies.

© Stack Overflow or respective owner

Related posts about model-view-controller

Related posts about tableview