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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:22:30+00:00 2026-05-27T01:22:30+00:00

I am working on UITableView. My application works fine with iOS 4 devices, but

  • 0

I am working on UITableView. My application works fine with iOS 4 devices, but when I install the same app on an iOS 5 device, the UITableView method [tableView beginUpdates] and [tableView endUpdates] does not perform the required task.

Any ideas of what the problem is?

  • 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-27T01:22:30+00:00Added an answer on May 27, 2026 at 1:22 am

    There are two things I’m seeing in your code, you are not actually inserting/deleting any new row in your UITableView and the beginAnimations block is only used for that purpose. From the doc:

    beginUpdates Begin a series of method calls that insert, delete, or
    select rows and sections of the receiver.

    • (void)beginUpdates Discussion Call this method if you want subsequent insertions, deletion, and selection operations (for
      example, cellForRowAtIndexPath: and indexPathsForVisibleRows) to be
      animated simultaneously. This group of methods must conclude with an
      invocation of endUpdates. These method pairs can be nested. If you do
      not make the insertion, deletion, and selection calls inside this
      block, table attributes such as row count might become invalid. You
      should not call reloadData within the group; if you call this method
      within the group, you will need to perform any animations yourself.

    The second things that I’m seeing is that you are also using animation blocks that are now discouraged in the documentation:

    Animating Views
    Use of the methods in this section is discouraged in iOS 4 and later. Use the block-based animation methods instead.

    What I would try is to move to the new code with a conditional statement, depending on the iOS version where your app is running.

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

Sidebar

Related Questions

I have a working UITableView filled with some options for my app, and i
In an app I'm working on, I have a plain style UITableView that can
I need your help :( I'm working on a iOS application in which i
I am working in a app where i have data in UITableView . It
I am working on an application in which uitableviewcells of uitableview are customized which
I am working on a Universal iOS Application on Xcode 4 . It's my
I am working on a iOS application, the model is very simple (Folders and
I'm trying to reorder UITableView in iOS application. After harvesting a lot of StackOverFlow
I am working on one application where i am fetching some data in uitableview
I have a UITableView in an iPad application that I am working on. 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.