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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:10:04+00:00 2026-06-06T07:10:04+00:00

I am using such code to present a new view, I don’t it’s good

  • 0

I am using such code to present a new view, I don’t it’s good or not. Currently the default animation is show the view from bottom up, but i want it to animate from right to left(fly in), is it possible to change the default animation type and how? Thanks.

[self presentModalViewController:navController animated:animated];
  • 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-06T07:10:05+00:00Added an answer on June 6, 2026 at 7:10 am

    You can disable the slide-up animation like this:

    [self presentModalViewController:navController animated:NO];
    

    Then you can provide your own animation code:

    navController.view.frame = CGRectMake(320, 0, navController.view.frame.size.width, navController.view.frame.size.height);
    
    [UIView beginAnimations:nil context:nil];
    [UIView setAnimationDuration:0.5];
    [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    navController.view.frame = CGRectMake(0, 0, navController.view.frame.size.width, navController.view.frame.size.height);
    [UIView commitAnimations];
    

    This example gives you the “Fly-in” from right with a smooth speed-curve.

    Another way is using the built in slide-in from right with navigationcontroller:

    [self.navigationController pushViewController:navController animated:YES];
    

    In this one, your top-viewcontroller needs to be a UINavigationController and it’s rootcontroller needs to be your viewcontroller. Then you can push other viewcontrollers.

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

Sidebar

Related Questions

After updating to Parsec 3.1 from 2.x, code using many1, such as word =
Given such a code segment: #include <iostream> #include <iterator> #include <fstream> #include <string> using
I would select multiple DOM elements using a typical code such as this: $('#ele1,
We're currently not using any serious client side framework besides jQuery (and jQuery.ui +
I'm using the following code to discard unsupported physical interfaces / subinterfaces from routers
When creating a website using Asp.Net and using controls such as the ListView is
how string.format() can help to avoid using + in such statement: string statement =
At my website, I was using URL addresses such as http://me.example.com/index.php?p=home Then I decided
I have a Qt application in Visual Studio 2005 which is linked using \subsystem:windows such that
When using third-party libraries such as jquery, yui-reset, swfobject and so on, do you

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.