Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift 5 delay dismiss view controller

let timer = 1

DispatchQueue.main.asyncAfter(deadline: .now() + timer) {
    // code to execute after 1 second
}
 
PREVIOUS NEXT
Tagged: #swift #delay #dismiss #view #controller
ADD COMMENT
Topic
Name
5+4 =