Last active
April 23, 2020 00:17
-
-
Save aheze/ae0cbe0040dd5133ca97db4701cadff2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
} | |
... | |
/// We need to call placeHighlights on the main queue because it involves changing the UI | |
/// ↓ Add this ↓ | |
DispatchQueue.main.async { | |
self.placeHighlights(atTheseLocations: rectangles) | |
} | |
... | |
busyPerformingVisionRequest = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment