ecstasy2/toast-notifications-ios — Issue #2: Dispose of active message
Author: julianfe
Created: 2012-03-01 17:35:34+00:00
State: open

If iToast is already displaying and another message is generated then they stack up.

If you have the opacity quite low this behaviour is fairly obvious

Ideally it should instantly dismiss the current instance and start again.

I'm been trying by using a tag in the view and checking it exists but frankly my obj-c is just not good enough!

v.tag = 6984678;

Then

UIView* barview = [v viewWithTag:6984678];
if (barview != nil) {
NSLog(@"FOUND _view!");
}

Any one know how to do this?