我必须停止在fenpleeration的电话.
@H_502_2@
NSTimeInterval delay = 2;
for (NSString* sentence in sentences) {
[sentenceHandler performSelector:@selector(parseSentence:)
withObject:sentence
afterDelay:delay];
delay += 2;
}
如何从上面停止这个电话?我试过了:
@H_502_2@[NSObject cancelPrevIoUsPerformRequestsWithTarget:sentenceHandler selector:@selector(parseSentence) object:nil];