Returns the serial dispatch queue associated with the application’s main thread.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
Returns the main queue. This queue is created automatically on behalf of the main thread before
main is called.
The system automatically creates the main queue and associates it with your application’s main thread. Your app uses one (and only one) of the following three approaches to invoke blocks submitted to the main queue:
CFRunon the main thread