xcode - Update view and progress HUD whilest running method -
i have method converts xml json objects , loops trough them possibly import data in sqlite3 database. whilest running method able let user know how far (progress bar or circular) along process method is. can't seem update view until methos over.
does have idea this? tried guess.

solved run method in dispatch_sync(dispatch_get_global_queue(dispatch_queue_priority_background , progress , screen updates in dispatch_sync(dispatch_get_main_queue(

Comments
Post a Comment