iOS Swift - Concurrency
You have this Swift function:
func updateLabel() {
label.text = "Hello"
}
When called from a background thread, the app crashes. How can you fix it using MainActor?