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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:12:50+00:00 2026-06-13T22:12:50+00:00

I am using ARC. I show an alert view after a user taps a

  • 0
  1. I am using ARC.
  2. I show an alert view after a user taps a UITableView cell.
  3. 99% of the times everything works great.

NOW TO THE WEIRED PART

I have this view hierarchy –

UITableView –> First UIViewController –> Child UIViewControllerControllers

The crash only appears after I open one, specific child UIViewControllers. After I enter all the other child viewControllers the alert view works great. If I enter the “problematic” view controller even once, The UIAlert view will crash even 5 minutes later and even if I get into all the other view controllers.

I have to say again that the alertView is presented in the root UITableView. And that it crashes even if the alert view callback method is only NSLoging.

The crash report is:

 *** -[ReviewViewController isKindOfClass:]: message sent to deallocated instance 0x20bea8d0

while ‘ReviewViewController’ is the problematic viewController.

Thanks

Shani

  • 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-13T22:12:52+00:00Added an answer on June 13, 2026 at 10:12 pm

    You’re setting the delegate of the UIAlertview to the calling UIViewController. That UIViewController is being de-allocated in certain cases when you navigate away from it.

    If you require a delegate to respond to the UIAlertView, you’ll have to structure your code so that the delegate doesn’t get de-allocated before the UIAlertView will be dismissed.

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

Sidebar

Related Questions

I have a custom cell for my table view which I have designed using
-Using ARC -I have 5 separate view controllers all subclassing a class I made
NOTE: I am using ARC I have a lazy image loading technique that works
Using ARC, is it now OK to assign a string value like this: self.userName
I am using ARC in my code and I am getting the error Object
for iOS 5.0 using ARC, here is something I want to implement and need
I'm in xCode 4.2 using ARC and Storyboard (iOS 5). I suppose to put
I am developing an app using ARC When profiling my app in instruments for
for an iOS 5.0 application using ARC, i have an NSArray of objects that
Basic question here. I started using ARC and am not sure if I should

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.