Question: what is nsrunloop in ios?
Answer: Run Loop is a mechanism that allows threads to process events at any time without exiting. ... NSRunLoop is a wrapper based on CFRunLoopRef that provides object-oriented APIs, but these APIs are not thread-safe.