Slide down like a music app

I am wondering how you would slide down (which you can show at any time) as a new music app in ios 8.4. How to make him actually react to the position of the finger, and not just to a flat animation.

+4
source share
3 answers

I highly recommend using LNPopOver . It works just like apple music, swizzling some methods.

+2
source

First you have to create the whole view, configure it so that only the top of the song being played is displayed at the bottom of the song list screen.

.

+1

What you can do is create a performance whose height is equal to the height of the screen with a button at the top equal to the song that is currently playing in the music application.

set the limit so that it displays only the button, when the button is pressed, the animation is limited to 0

Initially hide the down arrow once, the view will fully stretch the down arrow and hide the original button

config BOOL to check the expansion or compression state, or to do this via button.selected state

0
source

All Articles