AP.
AP.

Reputation: 5323

UIProgressView not updated

I have a UIProgressView that I am trying to change the progress but is is never updated. My "slow" operation is done from a NSoperation/NSOperation queue so it should be multithreaded.

Did you already experienced this or do you have any idea to solve this?

Thanks :)

Upvotes: 2

Views: 2388

Answers (1)

Johan Kool
Johan Kool

Reputation: 15937

Updates to the user interface should usually be done on the main thread. Try using -performSelectorOnMainThread:withObject:waitUntilDone: to update your UIProgressView.

Upvotes: 6

Related Questions