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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:12:26+00:00 2026-05-30T10:12:26+00:00

I have a prototype cell on an iOS storyboard that includes a UIProgressView .

  • 0

I have a prototype cell on an iOS storyboard that includes a UIProgressView.

A background process that executes periodically notifies a delegate that it has started. This delegate should make the UIProgressView visible on the table cell, but this is not happening. Even though I can see the delegate being called it is not causing the UIProgressView to appear.

The delegate method tries to get a pointer to the UIProgressView like this:

  UIProgressView* view = (UIProgressView*) [[[self tableView:myTableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:i inSection:0]] contentView] viewWithTag:MyProgressViewTag];

Where viewWithTag is set to the tag of the UIProgressView.

I have tried calling [myTableView reloadData] and [myTableView setNeedsDisplay] to try and force the redraw of the cell, but it has not worked.

Any ideas?

  • 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-30T10:12:27+00:00Added an answer on May 30, 2026 at 10:12 am

    you request a new cell from the datasource of the tableView, the cell you get is not part of the tableView.

    You want a cell that is already in the tableview, so ask the tableView for that cell.

    try this:

    UIProgressView* view = (UIProgressView*) [[[myTableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:i inSection:0]] contentView] viewWithTag:MyProgressViewTag];
    

    And make sure you call this from the mainThread. You can’t manipulate UI objects from a thread that is not the main thread.

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

Sidebar

Related Questions

I have the following piece of code ( Prototype ): $('table_cell_id') That cell contains
I have a prototype representing a particual IFrame. That prototype have a function called
We have a prototype application that was originally published to an external server hosted
Ok, I have this prototype that was written by someone else in C# and
I have a working prototype of a Java application that is using Apache Commons
I have a Prototype class which has a function removeMarker. var Location = Class.create({
I am using storyboarding. I have an UITableView with one prototype cell. This cell
This problem is driving me nuts. I have a prototype UITableViewCell in my storyboard.
I have a prototype website written in PHP. Lately i've rewritten code to separate
I have a prototype: int[] medianFileter(int[] data); and an array int[] intVal = new

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.