Given an NSObject
instance is there a way to list all the selector that has been scheduled for that object with the performSelector:withObject:afterDelay:
method (or related)?
问问题
91 次
1 回答
2
没有,您需要自己跟踪呼叫,或使用您自己的 NSTimer 发送延迟消息。
如果您尝试取消特定选择器或目标的消息,您可以使用cancelPreviousPerformRequestsWithTarget:selector:object
于 2013-10-01T10:53:14.863 回答