ios - Consecutive touches in memory for iPad -


i'm @ beginning of app wich have uinavigationcontroller several consecutive views. forward navigation ok, found next problem in backward navigation:

when touch in button in 1 of views have work, app shows 'loding...' label, because take 5-10 seconds back. but, if 1 person touches 2 times de button (thinking first touch haven't work), once app has done 5-10 seconds work, app goes 2 views in navigationcontrolles: 1 first view , second touch in button of previos view.

root view -------> view 1 ('back button 1') -------> view 2 ('back button 2')/n

|                 |                                   |      | |                  -----------------------------------       | |                    1 touch , 5-10 seconds work         | |                                                            |  ------------------------------------------------------------ 2 consecutive touches on same place (user haven't wait) 

how can avoid second touch effect?

thank you.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -