Skip to content

Instantly share code, notes, and snippets.

@josephchang10
Created April 14, 2017 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephchang10/bf3681c8302469ed78010528a42d3215 to your computer and use it in GitHub Desktop.
Save josephchang10/bf3681c8302469ed78010528a42d3215 to your computer and use it in GitHub Desktop.
Swift 获取主线程
DispatchQueue.main.async {
self.imageView.image = image
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment