views:

15

answers:

0

I am trying to add a back button to the sample viewtransition app. My issue is that when I tap the back button I added to the navigation bar it goes nowhere fast. Link to sample code below.

http://developer.apple.com/library/ios/#samplecode/ViewTransitions/Listings/Classes_ViewTransitionsAppDelegate_m.html#//apple_ref/doc/uid/DTS40007411-Classes_ViewTransitionsAppDelegate_m-DontLinkElementID_4

I have tried the following

  • (void) viewWillAppear: (UIView *) theView transitioning: (BOOL) transitioning { [containerView reloadInputViews]; }

Also tried...

  • (IBAction)back2:(id)sender { [self.containerView sendSubviewToBack:view1]; }

  • (IBAction)back3:(id)sender { [self.containerView sendSubviewToBack:view2]; }

  • (IBAction)back4:(id)sender { [self.containerView sendSubviewToBack:view3]; }

Edgar