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

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -