Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift + time delay call main thread

DispatchQueue.main.asyncAfter(deadline: .now() + 1) { 
   //Your code
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #time #delay #call #main #thread
ADD COMMENT
Topic
Name
3+2 =