Questions tagged [popviewcontroller]

147 questions
4
votes
2 answers

EXC_BAD_ACCESS when popViewControllerAnimated in navigation based application

I can't figure out why I get crash when poping back to previous view contoller in navigation stack. The thing is I am using custom navigation bar (original is hidded and my custom buttons fires navigation - push and pop - instead). Trace I…
Lukasz
  • 19,816
  • 17
  • 83
  • 139
3
votes
5 answers

popViewController not working

I am having an issue with popViewController. I use pushViewController to go to OrdersFormViewController OrdersFormViewController *ordersFormViewController = [[OrdersFormViewController alloc] initWithNibName:@"OrdersFormViewController"…
simonbs
  • 7,932
  • 13
  • 69
  • 115
3
votes
0 answers

Swift - First UIView Controller not responding after calling popviewcontroller() from second

Steps: 1. Navigating from first ViewController ViewController1 to second ViewController TamilVowelsViewController by clicking button1 2. User clicks on home button which navigates back to ViewController1 3. ISSUE: All the buttons in ViewController1…
3
votes
1 answer

Dismissing view controllers

If I switch between several views in my app only by using presentViewController or pushViewController and without using dismissViewController or popViewController, Can I dismiss presented view controllers at a later stage ? Thanks in advance for any…
3
votes
5 answers

PopViewController strange behaviour

Due to a weird request which I tried to turn down but it didn't work, I had to override the navigationBar's back Button. I have made a custom UINavigationController subclass and hacked the - (BOOL)navigationBar:(UINavigationBar *)navigationBar…
Toncean Cosmin
  • 535
  • 4
  • 19
3
votes
2 answers

why in UINavigation bar, push and pop are not working proper according (XCode5) ios sdk-7?

i am getting these error: nested push animation can result in corrupted navigation bar. Unbalanced calls to begin/end appearance transitions. I am trying to push one view controller to another one.i am getting following issues: on that it is not…
3
votes
1 answer

pop and refresh viewcontroller

I have three viewcontroller. when I get to the third viewcontroller, I use poptorootviewcontroller to pop to my first view controller, but when I use popviewcontroller in my third viewcontroller (i want to go back to my second viewcontroller) its…
user1492776
  • 280
  • 2
  • 7
  • 14
2
votes
1 answer

Swift 3 iOS- Programmatically Set and Push a new RootVC from a SplitViewController's DetailNavigationController

I have a SplitViewVC that has a MasterNavVC who's root is a TableViewVC. The SplitViewVC also has a DetailNavVC that has a WhiteVC as it's root. I have several other view controllers that I want to get through from my TableViewVC: RedVC, GreenVC,…
2
votes
2 answers

Can I "curl down" a page on popViewControllerAnimated?

I can "curl up" a view controller with this code: [UIView beginAnimations:@"animation" context:nil]; [self.navigationController pushViewController:page animated:NO]; [UIView setAnimationDuration:1]; [UIView…
Thomas Clayson
  • 29,657
  • 26
  • 147
  • 224
2
votes
1 answer

Animating UINavigationController's 'back' button

I have a custom button on a view controller in the navigation controller's heirarchy, that when pressed, pops the visible view controller. I want to use UIView's transform property to animate the closing of the view controller. It works, but if I…
Calvin
  • 8,697
  • 7
  • 43
  • 51
2
votes
1 answer

Navigation bar flashes black on performing popViewController

My app requires Pop animation in reverse direction.It's deployment target is IOS 7 only. So ,I have implemented TRVSNavigationControllerTransition api. I have default translucent navigation bar. It get popped successfully but flashed black at time…
Dhruv
  • 2,153
  • 3
  • 21
  • 45
2
votes
1 answer

How to go back to the first viewController in a complex scenario?

I have the following layout of view controllers: loginViewController -> tabBarViewController -> navigationViewController -> mainTableViewController -> logoutViewController. \ …
JSeven
  • 625
  • 1
  • 6
  • 12
1
vote
0 answers

self.navigationController pushViewController:SomeViewController animated:YES is not giving the correct view after the orientation changed

I'm having an wired issue on my iPad app on home screen, it has four different views on home page cause it has an arabic layout for each portrait and landscape view and I'm drawing each view with code. Each of them contain different layout. The…
1
vote
2 answers

Popping UINavigationController to a UITableView and displaying a different selected row

I am creating an application with a UITableView being the first item on the stack of the UINavigationController that it's in. Making a selection on the UITableView will push the view to a "DetailedViewController". In the DetailedViewController, you…
1
vote
3 answers

pop one or more viewControllers when app enters in foreground

My app downloads data from internet when it starts, during the splash screen. It does the same when, from the background, it enters in foreground (when the user open the app from the background). When the app is open, the user can push some views…
JAA
  • 1,024
  • 3
  • 20
  • 34
1
2
3
9 10