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 8045843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:39:17+00:00 2026-06-05T05:39:17+00:00

I am woundering if its possible to change the navigation controller animation to something

  • 0

I am woundering if its possible to change the navigation controller animation to something where instead of the new view just sliding onto the view, having the current view slide off as the new view slides on…

I have this function here, which is just detecting my swipes then animating the views like a normal navigationcontroller would do.. but I am hoping I can figure something else out with your help.

// Need to change this to work with viewArray
- (void)swipedScreen:(UISwipeGestureRecognizer*)gesture {

    //Left swipe
    if (gesture.direction == UISwipeGestureRecognizerDirectionLeft) 
    {
        if (viewCount == 0) 
        {     
            viewCount += 1;
            // Load a detial view into the (sub)NavController
            DetailViewControllerA *detailViewA = [[DetailViewControllerA alloc] initWithNibName:@"DetailViewControllerA" bundle:[NSBundle mainBundle]];
            [otherNav pushViewController:detailViewA animated:YES];
        }
    }
    //Right swipe
    else if (gesture.direction == UISwipeGestureRecognizerDirectionRight)
    {
        if (viewCount == 1) 
        {
            viewCount -= 1;
            [self.otherNav popViewControllerAnimated:YES]; 
        }
    }  
}
  • 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-05T05:39:18+00:00Added an answer on June 5, 2026 at 5:39 am

    You can do this with the uiView animation blocks like this one i use to show one blinking UIView

    [UIView animateWithDuration:1.0 
                              delay:0.0 
                            options:UIViewAnimationCurveEaseInOut 
                         animations:^ {
                             self.splash.alpha = 0.2;
                         } 
                         completion:^(BOOL finished) {
                             [UIView animateWithDuration:1.0 animations:^{
                                 self.splash.alpha = 1.0;
                             }];
                         }];
    

    or

    using below code

        [UIView beginAnimations:nil context:nil];
        [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.window cache:YES];
        [UIView setAnimationDuration:0.75];
        [UIView setAnimationDelegate:self];
        [self.splash removeFromSuperview];
        [UIView commitAnimations];
    

    for flip transition

    and for changing push/pop animation i use this code

        [UIView  beginAnimations:nil context:NULL];
        [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
        [UIView setAnimationDuration:0.75];
        [self.navigationController pushViewController:self.detailViewController animated:NO];
        [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.navigationController.view cache:NO];
        [UIView commitAnimations];
    

    enjoy Codding 🙂

    Happy Codding 🙂

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

Sidebar

Related Questions

I just started implementing a share functionality but was wondering if its possible to
I am wondering if its possible to change a HTML elements data type with
I was wondering if its possible to change the default program class that gets
I am wondering whether its possible to change/set/delete my session variable AS A USER.
I'm not even sure if its possible, but I'd like to change the value
just wondering if it's possible to change the style of a scroll bar with
just wondering whether it's possible to change the screen timeout using code in Android
I'm wondering if its possible to resize flash with javascript. I can't change any
I was wondering if its possible to use Javascript to change the function/method that
Just wondering if anyone knows whether its possible to gzip results before putting the

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.