How to animate UISlider pen like in Apple Music app?

I have a custom image as a handle to my UISlider using the following code:

slider.setThumbImage(UIImage(named: "scrollerHandle")!, forState: .normal)

      

In the default music app in iOS, when you want to change the position of a song and you click on the music slider, the handle animates and becomes larger, and then when you release it, it shrinks again. How do I do this with UISlider?

I really appreciate the help of each body.

Slider image in music app

+3
swift swift3 uislider


source to share


No one has answered this question yet

See similar questions:

7
Custom UISlider as a music app

or similar:

409
How to generate a random number in Apple Swift language?
4
UISlider track image disappears when returning from a specific view
3
How can I get the positions of the given values ​​along the UISlider?
0
How does iOS UISlider evaluate the position it is running at?
0
Firestore - UISlider inside UITableViewCell
0
UISlider big icon customization: how to stop thumb icon from returning to default circle icon when dragging?
0
UISlider unwanted behavior during animation
-1
Implementing UISlider with Animation in Objective C
-3
iOS How to make UISlider and UIButton as Apple Music app?



All Articles
Loading...
X
Show
Funny
Dev
Pics