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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:01:10+00:00 2026-05-27T15:01:10+00:00

in rootviewcontroller this code is working fine – (IBAction)gotoAboutGame:(id)sender { aboutGame *aboutGameObj = [[aboutGame

  • 0

in rootviewcontroller this code is working fine

- (IBAction)gotoAboutGame:(id)sender
{
    aboutGame *aboutGameObj = [[aboutGame alloc]init];

    [UIView transitionFromView:self.view toView:aboutGameObj.view duration:2 options:UIViewAnimationOptionTransitionCurlUp completion:^(BOOL finished) {
        [aboutGameObj release];
    }];

    [self release];
}

but from aboutgame when i am coming back to rootviewcontroller i am getting zombie attacks

- (IBAction)gotoMain:(id)sender
{
ViewController *viewControllerObj = [[ViewController alloc]init];

    [UIView transitionFromView:self.view toView:viewControllerObj.view duration:2 options:UIViewAnimationOptionTransitionCurlUp completion:^(BOOL finished) {
        [viewControllerObj release];
    }];

    [self release];
}

it shows the rootviewcontroller view but as i touch any button zombie attacks.

  • 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-27T15:01:11+00:00Added an answer on May 27, 2026 at 3:01 pm

    What class is this code in?

    This line looks very suspect to me

    [self release];
    

    Why it the object releasing itself? Surely the object that created it should be doing this.

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

Sidebar

Related Questions

I've got the code below in my RootViewController (which is a UITableViewController). This code
I have this code working, however I don't quite understand how it is managing
I have this button on the leftside of my UISplitViewController (RootViewController) that has a
I am using this code in the DetailView.m of a splitview app. Now the
I'm developing an iPhone application that show the camera's view with this code: -(void)
i have class like this DrillDownAppAppDelegate.h PictureCell.h RootViewController.h SlideShowViewController.h DrillDownAppAppDelegate.m PictureCell.m RootViewController.m SlideShowViewController.m i
I've gotten the latest version of the iOS code for AdMob. It is working
My window's rootViewController is a UINavigationController Then.. In this navigation controller's rootViewController, I popup
I was wondering why this code would give me black UITableViewCells when I set
I've been working on this for the past 11 hours and I think I've

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.