DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+2 =
Submit