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

The Archive Base Latest Questions

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

I have an iPad SplitViewController application with the following features: master (left hand) view

  • 0

I have an iPad SplitViewController application with the following features:

  • master (left hand) view controller is hidden in both portrait and landscape by returning YES in the shouldHideViewController delegate method
  • master view controller contains a tab bar controller
  • I utilise a multiple master detail manager to manage swapping the detail view controller based upon the selection made by the user in the master tab bar

I have a problem that only occurs after a memory warning is received by the application. When the master view slides in (either via a swipe or tapping the left bar button) the view appears effectively empty i.e. it does not contain any table view, just the semi-transparent background where the table view should be. If I tap the other view in my tab bar it loads it’s master view correctly. If I then tap back to the problem view it now appears correctly.

Originally I had another problem in that not only was the view empty but it was also sized for full screen. I was able to fix the size problem via the solution proposed in this SO question – it is noted in the solution that “Apparently when a memory warning is received, the view controller gets released, so when it presents itself again, it gets it’s size from it’s parent view, which is full screen. So you just have to reset the frame every time it gets loaded.”

By putting break points in my code I can verify that when I first try to access the master view after a memory warning the ViewDidLoad event is called (this does not occur if there has not been a memory warning), however the ViewDidAppear & ViewWillAppear events are not called. So the app is aware that it needs to reload the master view after a memory warning, but for some reason it does not seem to show the master view.

I’m struggling to work out how to correctly make the view appear again after a memory warning. Or is there something I should be doing to prevent the master view from being unloaded when a memory warning is received?

UPDATE: I have also observed that if the master view is showing at the time of the memory warning then this problem does not occur.

  • 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-10T10:04:14+00:00Added an answer on June 10, 2026 at 10:04 am

    I raised this issue with Apple technical support. Their reply was as follows:

    A search of radar shows that this is a known problem in iOS 5.1 and
    that engineering is aware of it. At the moment there does not seem to be
    a workaround for this problem other than making sure that you don’t
    get memory warnings.

    If you’d like you can file an additional bug at:
    http://bugreporter.apple.com/. Additionally I’d suggest that you try
    this and see if it is still an issue in iOS 6. If it is please file a
    bug and send me the radar number so that I can keep track of it.

    I did as they suggested and tried it out in iOS 6. I found that the problem did not occur and therefore seems to be fixed in iOS 6. Apple did not offer a solution for iOS 5.1.

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

Sidebar

Related Questions

I have an iPad application with a SplitViewController. I am hiding the left hand
In my iPad application, i have used UISplitViewController where master view contains table view
I have an iPad SplitViewController application in which I hide the left pane in
Using a split view on the iPad, I have the following code: - (void)
I have an iPad game that I only want to see in landscape view.
We have a iPad app which includes a two-column news reader. The left view
I have an iPad application that uses table view controllers to present lists of
I have an iPad application that opens up in portrait mode but when I
I have an iPad application with a SplitViewController in which the DetailView has a
I have an iPad application that pulls in all of its data from an

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.