Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8710319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:35:58+00:00 2026-06-13T04:35:58+00:00

I am using Push to navigate to different pages. As you know it always

  • 0

I am using Push to navigate to different pages. As you know it always moves right to left. I want it to work like this:

1 – when I click on a button in the left side of the current page, it comes left to right.

2 – when I click on a button in the right side of the current page, it comes right to left.

3 – When I click on the button which loads current page, it comes down to Up. (like Modal)

This is what I tried by implementing UIStoryboardSegue and create custom Segue:

- (void) perform {

    UIViewController *src = (UIViewController *) self.sourceViewController;
    [src.navigationController popViewControllerAnimated:YES];
}

or:

- (void) perform {

    UIViewController *src = (UIViewController *) self.sourceViewController;
    [UIView transitionWithView:src.navigationController.view duration:0.5
                       options:UIViewAnimationOptionTransitionFlipFromBottom
                    animations:^{
                        [src.navigationController popToViewController:[src.navigationController.viewControllers objectAtIndex:0] animated:NO];;
                    }
                    completion:NULL];
}

But they are not working in a way that I want.
I want them to work like Push Segue (I want the viewDidLoad, … is called again)
Can you give me some help? (Please share some codes in your answer)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:35:59+00:00Added an answer on June 13, 2026 at 4:35 am

    This is what I need to do:

    -(void)perform {  
       UIViewController *sourceViewController = (UIViewController*)[self sourceViewController];
       UIViewController *destinationController = (UIViewController*)[self destinationViewController];                    
    
       CATransition* transition = [CATransition animation];
       transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
       transition.type = kCATransitionPush;
       transition.subtype = kCATransitionFromLeft; 
       [sourceViewController.navigationController.view.layer addAnimation:transition forKey:kCATransition];
       [sourceViewController.navigationController pushViewController:destinationController animated:NO];    
    }
    

    Cheers!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to setup the application server part of C2DM push messaging using this
This is the first time I am using push notification in my App. I
I want to create a MIDlet which automatically starts using push registry function PushRegistry.RegisterConnection(sms://:50000,
Im using the push notification service in my app. But it is now always
I am using push notifications module. One of my friend did an app for
I've been wondering if there is a real advantage to using COMET / push-technologies
im using simple vector push_back to object of Type A and getting this error
Im using restkit and push notifications and I have also built the interface, so
I push a fragment on the fragment stack using the following code: FragmentManager fragmentManager
I am doing push notification for android using C2DM. it works well. but while

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.