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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:55:41+00:00 2026-05-27T08:55:41+00:00

I’m in the coding Objective-C of xcode4.2. But stopped working on an animated navigation

  • 0

I’m in the coding Objective-C of xcode4.2.

But stopped working on an animated navigation iOS xcode4.2.
The project was reconfigured in xcode4.2 xcode3.x was originally developed.

In the time of reconstruction NewProject “Mastar-Detail Application” is selected.

Basically, the transition of navigation

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

are using.

What was working in a way that slides horizontally in xcode3.x,
Once you build xcode4.2, eliminating the slide animation
The sister looks like a page changes instantaneously.

Please tell me how to move an animated slide xcode4.2.

Thank you.

  • 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-05-27T08:55:42+00:00Added an answer on May 27, 2026 at 8:55 am

    Not very clear about the problems your described at beginning. 🙁
    But on this question: how to move an animated slide xcode4.2.
    Well, NavigationController‘s pushViewController:animated: method has its slide animation if you set the animated to YES. Like the code snippet below:

    UIViewController * yourNewViewController = [[UIViewController alloc] init];
    [yourNewViewController.view setFrame:CGRectMake(0.0f, 0.0f, 320.0f, 480.0f)];
    [yourNewViewController.view setBackgroundColor:[UIColor blueColor]];
    [self.navigationController pushViewController:yourNewViewController animated:YES];
    [yourNewViewController release];
    

    Note: You must push the ViewController not the View to it.


    If you want to imitate this slide animation for other views without Navigation Controller, you can do like this:

    UIView * newView = [[UIView alloc] initWithFrame:CGRectMake(320.0f, 0.0f, 320.0f, 480.0f)];
    [newView setBackgroundColor:[UIColor blueColor]];
    [self.view addSubview:newView];
    [UIView animateWithDuration:0.3f
                          delay:0.0f
                        options:UIViewAnimationCurveEaseInOut
                     animations:^{
                         [self.view setFrame:CGRectMake(-320.0f, 0.0f, 320.0f, 480.0f)];
                     }
                     completion:nil];
    

    Note: In this way, the navigationBar’s titleView will not change, you need to change it by yourself if you want.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want to construct a data frame in an Rcpp function, but when I
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
I have just tried to save a simple *.rtf file with some websites and

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.