Hi Felix

Tapped is called when the UITableView calls in, so I would suspect
it's something in UIKit which is causing the issue. From what I know,
MT.D is just passing the messages up. If you tap quickly enough -
quick enough that the message loop hasn't caught up and processed the
message - I suspect you will get double messages.

Is there a practical usecase for this? How quickly do you have to tap?
How many background threads have you got going? I've tried it in my
various MT.D apps, and I can't tap quickly enough (iPhone 4S) to make
it do it.



On Mon, Jun 11, 2012 at 4:51 AM, Felix Collins <[email protected]> wrote:
> I have a situation where a tap on a MT.Dialog.StringElement causes a
> PushViewController(view, true) to be called, to navigate to a new view.  If
> I rapidly tap on the element then it seems multiple taps get queued up
> before the navigation is done. So I get several of my new view on the stack
> instead of just one. Nasty! I also get some warnings from the system
> (<Warning>: nested push animation can result in corrupted navigation bar).
> I've checked my code in the tapped event handler by logging out
> Environment.Stacktrace and my code is definitely not re-entrant (which means
> that the warning on nested pushes must be wrong, I wonder if it is generated
> if a new push happens before the last one has finished animating). I think
> now that there must be a bug in MT.Dialog or even in the TableViewController
> code. Has anyone come across this before? Surely I do not have to block
> multiple taps in my user code?!
>
> Thanks for any insights...
> Felix
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Rapid-tapping-on-MT-Dialog-StringElement-causes-nested-navigation-pushes-tp4655287.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to