UIPickerView like the one in the apple native calender app

Dear forum,

I have programmed an app with an UIPickerView being presented modally up and running, with an UITextField as the initiator for the presentation.

I like to use the kind of animation of the UIPickerView in the manner, as you can find it in the Apple native calender app, i.e. changing the beginning time or others.

See the following screenshots for a better understanding:

You see the calender app before and during the time of editing the time value for a new appointment. The UIPickerView is shown with an animation pushing down the rest of the view after “Beginn”.

Does anybody know, how to do this including the animation programmaticaly in Swift or where I can find an example or some hints, how to programm it?

Thanks in advance

Best

Thomas

UIPickerView like the one in the apple native calender app
 
 
Q