Hey guys,
I'm trying to replicate the behaviour of the HUD in the Videos app (when watching a video). So to put it in words there is a custom view at the top of the screen which fades in and fades out after about 4 seconds. If you tap on the view or any of its subviews(UIButton, UISlider), the timer resets back to 0 and starts over.
I have everything working except for that timer which should reset when a subview is tapped.
Ive got a gesture recognizer on the custom view but the target-action method doesnt get called when I touch a subview.
I'm trying to replicate the behaviour of the HUD in the Videos app (when watching a video). So to put it in words there is a custom view at the top of the screen which fades in and fades out after about 4 seconds. If you tap on the view or any of its subviews(UIButton, UISlider), the timer resets back to 0 and starts over.
I have everything working except for that timer which should reset when a subview is tapped.
Ive got a gesture recognizer on the custom view but the target-action method doesnt get called when I touch a subview.
Last edited: