Ios developer
Ios developer

Reputation: 105

Executing UIKit in background thread in swift

What will happen, when we will execute UIKit on background thread.
Will the app chrash or the UI is unresponsive . can anyone explain it to me .

Upvotes: 1

Views: 199

Answers (1)

Bappaditya
Bappaditya

Reputation: 9652

As per Apple's guideline, we should not execute any UIKit element update in the background thread, the results are unpredictable or it will through error, while running the app, For reference please refer Main Thread Checker

Upvotes: 1

Related Questions