私はそのようなコードを持っています:
NSInvocation* invocation = [NSInvocation invocationWithMethodSignature:[self methodSignatureForSelector:@selector(updateFrame)]];
[invocation setTarget:self];
[invocation setSelector:@selector(updateFrame)];
displayLink_ = [[CADisplayLink displayLinkWithTarget:invocation selector:@selector(invoke)] retain];
[displayLink_ setFrameInterval:1];
[displayLink_ addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
iOS 6.0 (5.1 ではこのコードは正常に動作します) では、このコード呼び出しには 2 つのバリアントがあります: EXC_BAD_ACCESS または「認識されていないセレクター "invoke" への呼び出し」。displayLinkWithTarget:selector: メソッドがターゲットを保持していないようです。[呼び出し保持]行を追加すると、コードが正常に動作するようになります。iOS 6.0のバグですか?