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

  • Home
  • SEARCH
  • 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 8772301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:00:20+00:00 2026-06-13T18:00:20+00:00

I did my coding in xcode-4.2 and after updating xcode-4.5.1,My app running perfectly,while clicking

  • 0

I did my coding in xcode-4.2 and after updating xcode-4.5.1,My app running perfectly,while clicking window to navigate it shows following error.

Warning: Attempt to present <learnview: 0x8876220> on <UINavigationController: 0x8866e10> whose view is not in the window hierarchy!

I change the function from viewdidload() to viewdidappear() still its showing the same error?Please help me to solve out

Edited:

    -(void)goright
   {
    CATransition* transition = [CATransition animation];
    transition.duration = 1.5;
   transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseOut];
    transition.type = kCATransitionPush;
    learnview *lview=[[learnview alloc]initWithNibName:@"learnview" bundle:nil];
    transition.subtype = kCATransitionFromRight; //kCATransitionFromLeft, kCATransitionFromRight, kCATransitionFromTop, kCATransitionFromBottom
    [self.navigationController.view.layer addAnimation:transition forKey:nil];
   [[self navigationController] pushViewController:lview animated:NO];

    [imagetim invalidate];    
    }     
  • 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-13T18:00:21+00:00Added an answer on June 13, 2026 at 6:00 pm

    Call This method in viewWillAppear: or viewDidAppear:

    with Animation try below Code…

    -(void)goright
    {
        CATransition *animation = [CATransition animation];
        [animation setDelegate:self];   
        [animation setType:kCATransitionPush];
        [animation setDuration:1.5];
        [animation setTimingFunction:[CAMediaTimingFunction functionWithName:
                                      kCAMediaTimingFunctionEaseInEaseOut]];
        [animation setSubtype:kCATransitionFromRight];
        [[self.view layer] addAnimation:animation forKey:@"transitionViewAnimation"];
    
        learnview *lview=[[learnview alloc]initWithNibName:@"learnview" bundle:nil];
        [[self navigationController] pushViewController:lview animated:NO];
    
        [imagetim invalidate];    
    }
    

    and without Animation try this below code…

    -(void)goright
        {
    
            learnview *lview=[[learnview alloc]initWithNibName:@"learnview" bundle:nil];
    
            [self.navigationController pushViewController:lview animated:YES];
    
            [imagetim invalidate];    
        }     
    

    try this

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

Sidebar

Related Questions

Consider the following code (for simplicity, I did not follow any C# coding rules).
I am coding with Matlab, and I get the following error for the bold
My problem is, I did coding for a sprite. It should change it should
I never did any serious Java coding before, but I learned the syntax, libraries,
The last time I did any serious Java coding was back around the turn
Did you ever have the following situation: you need to store information, but a
Did anyone tried to customize the window in which the quicktime is playing video?
Did I not get enough sleep or what? This following code var frame=document.getElementById(viewer); frame.width=100;
I did a coding for ribbon menu using horizontal scrollview. my code is given
I did an app that sets the wallpaper using several png images on timed

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.