Questions tagged [popviewcontrolleranimated]

60 questions
0
votes
0 answers

Swift: Buggy Navigation Bar Behavior With popViewControllerAnimated

I want to use a push segue to edit an "entry" that is otherwise added via a present modally segue. It doesn't dismiss using the normal dismissViewControllerAnimated method when pressing cancel. Because of this I had to combine the…
Nathan McKaskle
  • 2,926
  • 12
  • 55
  • 93
0
votes
1 answer

How to go back to previous view in IOS?

I get a EXC_BAD_ACCESS error message in my AppDelegate.m program when I attempt to goback to the previous view controller by popping the current view controller off the stack. The error obviously means that the viewcontroller is not in the stack. …
Dave
  • 873
  • 2
  • 15
  • 27
0
votes
1 answer

iOS 8 : popViewControllerAnimated & popToRootViewControllerAnimated not workring

I am getting one error in iOS 8 in Xcode 6. Just here is the scenario. XCode 6 create new Project "Master-Detail Application" Now I have doing just in detail add one button and in its click event view to Pop Master view but it's not…
0
votes
1 answer

xcode, how to destroy/release/dismiss previous controller/scene after popviewcontrolleranimated

i had 2 scene, "List Scene" and "Details Scene". After Click the Item on "List Scene", it will go to "Details Scene". In the "Details Scene", i had some animation, anime the Image keep repeat move from left to right or right to left. After i go back…
Lazarus
  • 427
  • 2
  • 8
  • 14
0
votes
1 answer

popViewControllerAnimated: doesn't want to animate

I'm implementing a kind of cascading menu. In my storyboard, I've got a UINavigationController which have a UIViewController as root view controller (let say it is a MyViewController). MyViewController has a storyboard ID : "Menu". As this…
0
votes
1 answer

Does the method popViewControllerAnimated: act different than the Back button of the NavigationController?

In my Application i have a container ViewController which is the RootView of an UINavigationController. I transit between various Child ViewControllers through a segmentedControl in the Toolbar of the UINavigationController. One of the Child views…
0
votes
1 answer

after dismissing viewController, popViewController won't work

I have stucked in scenario: look at this picture: I have soundPlayerVC as childeViewController of pageContentVC. soundPlayerVC Present mail modalViewController: - (IBAction)emailStory:(id)sender { if ([MFMailComposeViewController canSendMail]) { …
0
votes
1 answer

UIViewController in a UINavigationController not calling delegate method

In my Storyboard, I am using a UINavigationController with a navigation bar to present a view controller. This view controller, ViewController2, is pushed to the stack by tapping a UIBarButtonItem that I placed in the navigation bar. I made this…
0
votes
3 answers

Delegation not working properly (should tell a VC to popViewControllerAnimated)

I am using a simple protocol to tell a delegate when save button was tapped on VC2 so the view controller can be dismissed by popViewControllerAnimated by VC1. VC2 has a protocol which VC1 confirms to. VC2.h #import @class…
user1010563
0
votes
1 answer

Back button appears on popViewControllerAnimated:YES

I am making an app in which I created custom navigation bar - MyNavigationBar (extends UIView): MyNavigationBar.xib : MyNavigationBar.m : +(id)navigationBar{ MyNavigationBar * bar = (MyNavigationBar *) [[[NSBundle mainBundle]…
haawa
  • 3,078
  • 1
  • 26
  • 35
0
votes
1 answer

Which UIViewController called popViewControllerAnimated:?

Lets say I have 3 UIViewControllers A, B, C. Now lets say I call B or C from A. Not with segues, but with instantiating them in code and pushing them to the navigationController. After B or C are done, they call popViewControllerAnimated: and…
0
votes
1 answer

iOS: viewWillDisappear not getting called on popViewControllerAnimated from another View Controller

I'm relatively new to iOS development and I have an issue with popping view controllers. I need to pop two (or more) UIViewControllers from the navigation stack when back button is pressed. Since I don't want them all to be animated I'm first…
mdmilic
  • 13
  • 1
  • 4
0
votes
3 answers

popViewControllerAnimated animation is not working

I know this is kind of repetitive question in SO, but I'm still unable to figure it out. The animation is not working when the app goes to background and then comes back up. The first time the app launchs I'm able to get the push/pop animation…
0
votes
4 answers

UITextField contents are empty after popViewControllerAnimated

In my app I'm using a navigation controller. My problem is, when I go to previous view and then back to my current view, all TextFields in this view are empty. I don't know how to save these values (in textfields) when I navigate through the stack…
-1
votes
2 answers

UINavigationController popViewControllerAnimated issue

I have LoginViewControllerIphone instance , where I push the instance of TasksRootViewControllerIphone then in TasksRootViewControllerIphone (10 seconds after appearing) I call [self.navigationController popViewControllerAnimated:YES]; And receive…
1 2 3
4