Skip to content

Instantly share code, notes, and snippets.

@elifry
Created October 3, 2021 21:55
Show Gist options
  • Save elifry/9281dfb3588ee1dda7868dab900ce179 to your computer and use it in GitHub Desktop.
Save elifry/9281dfb3588ee1dda7868dab900ce179 to your computer and use it in GitHub Desktop.
Swift iOS simple wait command
DispatchQueue.main.asyncAfter(deadline: .now() + 0.9, execute: {
self.self.doScan()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment