iOS - Does application:didFinishLaunchingWithOptions execute in main thread?

I am wondering if an iOS app delegate's application:didFinishLaunchingWithOptions: method executes from within the main thread?

Ultimately I would like to know whether it is safe to put UI code in this method and if I should keep blocking code (like network interactions) out of it.

Thanks.

Upvotes: 7

Views: 2016

Answers (1)

Rits
Rits

Reputation: 5175

Yes, it is executed on the main thread.

Upvotes: 12

Related Questions