why lable's text can't change, but can debug str? – Ios swift
why lable's text can't change, but can debug str? i know queue.sync is excute in main thread,when i sleep in main thread。 class ViewController: UIViewController { let queue = DispatchQueue(label: "queue", qos: .userInteractive) let sem = DispatchSemaphore(value: 0) @IBOutlet var…