Runs the current thread’s CFRunLoop object in its default mode indefinitely.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The current thread’s run loop runs in the default mode (see Default Run Loop Mode) until the run loop is stopped with
CFRun or all the sources and timers are removed from the default run loop mode.
Run loops can be run recursively. You can call
CFRun from within any run loop callout and create nested run loop activations on the current thread’s call stack.