How to set timer to show text after certain period of time on screen

In my app I have a black screen at one point and I want the user to know that it's not the end. I want to display text "tap to go next" on the bottom of the screen. To do that I'll need to use timer to show the text after couple of seconds. I don't know how to do it. Could anyone help?

You can use asyncAfter to display labelToShow (UILabel) which was initially hidden (in IB or at viewDidLoad)

To wait for 2 seconds:

DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {
    labelToShow.isHidden = false   
}

You could also flash it with some animation, to make sure user will notice…

How to set timer to show text after certain period of time on screen
 
 
Q