UIActivityView and blocking

Posted by Rob Bonner on Stack Overflow See other posts from Stack Overflow or by Rob Bonner
Published on 2010-06-05T22:39:23Z Indexed on 2010/06/05 22:42 UTC
Read the original article Hit count: 279

Filed under:

Hello,

I have a section of code that uploads an image:

[activity startAnimating];
 [self uploadImage:img Session_id:appDelegate.sessionID PlaceID:place.placeID Comment:comment.text];
 [activity stopAnimating];

I am sure that activity is wired up correctly to a UIActivityViewIndicator, but it never shows. Inside the uploadImage function, I open a connection to the server and start the upload. Does anyone have an example or possible explanation as to why the activity view would not display?

© Stack Overflow or respective owner

Related posts about iphone