RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Sunday, June 3, 2012
iOS: Running Some Code on Main UI Thread
dispatch_async(dispatch_get_main_queue(), ^{
// do something here
});
Reference:
http://stackoverflow.com/questions/5606145/objective-c-calling-a-method-on-the-main-thread
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment