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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:04:29+00:00 2026-06-14T23:04:29+00:00

I have an interesting problem that has me stumped. I have a view that

  • 0

I have an interesting problem that has me stumped. I have a view that is displayed on top of another view (using addView). The second view does not fill the entire screen on the iPhone. Both views are managed by view controllers. The second view controller then presents a modal view controller that fills the screen (specifically MFMessageComposeViewController).

All of this works great the first time. However, when I dismiss the modal view controller the second time, the dealloc method on the presenting view controller (the one that presents the modal) gets called by __delayedPerformDealloc.

The containing view controller has retained the inner view controller, so I can’t figure out what list the inner view controller got on that caused it to be dealloc’d.

Has anyone else seen this?

Tools: Xcode 4.5.2, iOS 6, iPhone 5.

  • 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-14T23:04:31+00:00Added an answer on June 14, 2026 at 11:04 pm

    This turned out to be a bonehead move by me. The controller in question was being passed as a delegate and was assigned to a member variable in the init method but was released in the dealloc method. D’oh!

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

Sidebar

Related Questions

I have an interesting problem here. I have a MySql database table that has
I have an interesting problem, that i am sure has a simple answer, but
I have an interesting situation that has me stumped. It seems that posting appliction/json
I am trying to solve an interesting problem. I have a table that has,
I have an interesting SQL problem that I need help with. Here is the
I have an interesting genetics problem that I would like to solve in native
I have an interesting problem. The basis of the problem is that my last
We have an interesting problem with WCF binding and streaming transfer mode that we
I have an interesting problem, which is a function that returns a Dictionary<String,HashSet<String>> .
I have an interesting problem when using partial page update in asp.net with scriptmanager

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.