How to determine if the current thread inside a method is a main thread, or just a 开发者_运维百科thread that is asynchronous and created? Does the ID tell me?
Like this: [NSThread isMainThread]
How to determine if the current thread inside a method is a main thread, or just a 开发者_运维百科thread that is asynchronous and created? Does the ID tell me?
Like this: [NSThread isMainThread]
精彩评论