Bug 3132 - NSObject.CancelPreviousPerformRequestsWithTarget
Summary: NSObject.CancelPreviousPerformRequestsWithTarget
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 5.0
Hardware: PC Windows
: Normal normal
Target Milestone: Untriaged
Assignee: Miguel de Icaza [MSFT]
Depends on:
Reported: 2012-01-29 15:17 UTC by Roman Kalantari
Modified: 2013-02-11 22:15 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Roman Kalantari 2012-01-29 15:17:03 UTC
NSObject.CancelPreviousPerformRequestsWithTarget doesnt seem to be available in 5.0.4?
Comment 1 Miguel de Icaza [MSFT] 2012-02-01 16:30:58 UTC
Hello Roman,

Do you have a particular scenario in mind that needs this?

In the meantime, you can use one of the methods in Messaging to call the API directly.
Comment 2 steven.orth 2012-04-17 16:51:26 UTC
I have also found this lacking. In my case, I am using performSelector:withObject:afterDelay with some non-trivial delay, and need to cancel the requested operation if certain conditions arise.

Comment 3 Miguel de Icaza [MSFT] 2013-02-11 22:15:33 UTC
This is now available in recent versions of MonoTouch and MonoMac.