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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:39:13+00:00 2026-05-31T09:39:13+00:00

Edit: While my comments have an iOS 5 working example, I am still getting

  • 0

Edit: While my comments have an iOS 5 working example, I am still getting this for other versions. I’ve now implememted a test to only register and dequeue cells if iOS 5, but it’s really puzzling!

still receiving _accessibilityUpdateRemoveControl exceptions, strange nuisance, appears to be something with the edit controls, nothing is retained so nothing needs deallocing, but will try, and post the answer if I find it!

This was working yesterday, and now it’s not… I changed nothing!

Edit: Turns out, while reloadData causes the crash, the crash does not occur without my custom tableViewCell… hmmm, something about removing the + sign, but it doesn’t happen with deletion!

Actual error is this:
[CustomTableViewCell _accessibilityUpdateRemoveControl]: message sent to deallocated instance.

What’s funny is, the remove button works. Essentially it removes the item from an array, adds it to another, basically putting it “to another table”. No crashing, works fine.

If I remove the line that reloads the data in the table, after the insert button adds it, it also works. Eg: Don’t immediately reload the data, close window, come back, everything displays fine. The exact line, so far, that crashes it is in

[theTable reloadData], but that line, for the other table (as I update both) doesn’t crash at all. Actually, thanks to that, I’m gonna view the headers for UITableView’s functions, and view other answers with that specific line. I just didn’t see this, anywhere, after searching for that weird function call.

I’m ensuring my cell is within memory, and even quit dequeuing just to ensure it’s working. I’m stumped with this, hopefully will have solution in an hr or less.

Thanks

  • 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-31T09:39:14+00:00Added an answer on May 31, 2026 at 9:39 am

    I stepped through Apple’s code, line by line, read the name of every function and noticed this:
    editControlWasClicked: (id) clicked

    is called just before crashing. I combined that with the error message, and the fact I call [table2 reloadData] before this is called, and pieced those pieces together.

    The cell is erased (so it moves to the other table), but somehow calls its system callBack “editControlWasClicked” after the table reloads… since it’s on the main thread, I’m guessing the table stuff is multi-threaded… how else would it call these in order but do that After the reload??

    So to test this, I used the “afterDelay” function, and low and behold, it worked.

    You may be asking why I’m using an add edit control in one and subtract in the other… there is a purpose to that.

    So, possible solutions: 1) use the afterDelay method of selectors.
    2) Write a custom IBAction (’cause it’s a xib) or otherwise use custom images and functions to ensure that doesn’t get called back.

    Note, 2 involves writing an extra delegate so that messages from the cell can reach the view controller.

    Basic solution: use iOS 5, use the queuing, otherwise do one of the above solutions or figure out the threading/hooks and find a way to do this without delaying. (I would prefer such if I can find it)

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

Sidebar

Related Questions

EDIT: I will leave this here as an example. Read the comments for more
I have been struggling with this for a while now. I have a Master
This is a question I have been struggling with for a while. What is
I have some old Haskell code that includes QuickCheck test cases. Newer versions of
I have this query in my PHP: <?php $comments_list = mysql_query(SELECT * FROM comments
I am currently working on a project where we have a couple very control
I have created a little example(below) on my attempt to safely stop multiple threads
OK, I hope I explain this one correctly. I have a struct: typedef struct
I have been trying for quite a while to work out how to accomplish
I have not programmed C++ for a while and encountered a strange behavior when

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.