"Spotify like" drag the bottom player to the fast

I would like to have a panel / button at the bottom of the screen that behaves like the panel of a Spotify mini-player. If I click on it, a view will appear below. If I dragged it, I can play with it and make it up and down. And if I release it, it will continue on its own.

I checked this question: How to animate an object vertically when touched, as the Spotify music player does when clicking on a song , but it only changes the size of the image (image) where I want to place the new ViewController (and I cannot drag it, just click on him).

I found a project that does this: https://github.com/andriirogulin/ARSlidingPanel , and it looks like it works very well. This is really what I want to achieve.

My problem is that I hardly know about objective-C. Moreover, I tried to complete the integration tutorial, and I cannot add a custom segue from the ARSPContainerController. I need to drag it from the object, and there is no sample in the project. Therefore, I would like to know if:

  • there is a name for this type of bottom panel (for simpler research purposes) and the way I would like to use it.
  • There is a Pod / project that does this in swift.
  • Does anyone have an example project that has this behavior?
+4
source share

All Articles