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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:27:36+00:00 2026-05-31T11:27:36+00:00

It is showing as low memory on this line/code appDelegate.window.rootViewController = preVC; My code:

  • 0

It is showing as low memory on this line/code

appDelegate.window.rootViewController = preVC;

My code: –

PreViewController *preVC = [[PreViewController alloc] initWithNibName:@"PreViewController" bundle:nil];
preVC.managedObjectContext = managedObjectContext;
[self.view removeFromSuperview]; // Memory leak .6%
appDelegate.window.rootViewController = preVC; // Memory leak 46.4%
[preVC release];

please help, correct or suggest me to release the memory or alternative solution for the problem, where I have done wrong. Thanks in Advance.

  • 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-31T11:27:37+00:00Added an answer on May 31, 2026 at 11:27 am

    IN app delegate i didFinishLaunching u have to set your RootViewController at run time on thrugh mainWindow.Xib

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

Sidebar

Related Questions

Without showing too much code: I have an Activity A. This Activity populates a
my iphone application crash after raising 4 warnings of low memory, instruments is showing
Before showing the GUI, if i have a code block like this: try {
uMy child pages are showing up in a horizontal line under the parent page
I'm generating and showing a new WinForms window on top of a Main Window.
I've tried searching high and low for the answer to this weird problem. My
this is the code i wrote to retrieve the latitude, longitude but it is
Does anyone have some sample code showing how to POST to a URL using
Showing app/views/frontend/get_months.html.erb where line #1 raised: wrong number of arguments (0 for 1) Extracted
When showing a progress bar over WPF window during some process, I would like

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.