ios - How to implement a double tap gesture on tab bar item -


i developing music app client , need app following image.

however when user press middle button once need show full screen player , if user pressed button twice needs show mini audio player.

is there way ? if how ?

enter image description here

with tabbarcontrollerdelegate can know if selected tab current tab, know can use - (bool)tabbarcontroller:(uitabbarcontroller *)tabbarcontroller shouldselectviewcontroller:(uiviewcontroller *)viewcontroller

in method can return no tabbar not switch viewcontroller (if use navigationcontroller tab bar popviewcontorller when duble tap) , can show audio player.

this want?


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -