Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui delay

DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {
	Text("waited 2 seconds")
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swiftui #delay
ADD COMMENT
Topic
Name
8+2 =