Home / IOS Development / What are the consequences of calling DispatchQueue.main in viewDidLoad?

What are the consequences of calling DispatchQueue.main in viewDidLoad?




Can you do that to get it running on the main thread. Or it needs to be outside viewDidLoad. Inside DispatchQueue.main you will have a sort and reload data

submitted by / u / bee4534
[comments]


Source link