uinavigationcontroller - iOS navigation views with both "back" and "save" buttons? -
I'm new to iOS programming and need some help on creating navigation. I have a top-level view shown on left when the user presses the "Create New" button, then the app must be brought up "A journal entry" view, which is right . I have applied two views with navigation using the Navigation Controller. The problem I am aware of is that There are now two ways to navigate away : (1) using the upper-back back button and (2) using the "save" button, which saves File. I think the back button should go back without saving, or maybe the "cancel" button instead, in this case I should not use the navigation controller. What is the standard UI approach of this type of problem? I think That is, you should not change the architecture of your thoughts, it is very good and easy by going back to the previous view controller and saving the button by using the upper-left button, which IBAction
- (IBAction) doSaveStuff: (UIButton *) Sender {// Savings Content [self.navigationController popViewControllerAnimated: Yes]; }
Comments
Post a Comment