私はこのコードを持っています:
[self performSelector:@selector(animationWithType:) withObject:PasscodeAnimationTypeConfirm afterDelay:0.2];
このメソッドに:
-(void)animationWithType:(PasscodeAnimationType)type;
これをその場所に置く:
[self performSelector:@selector(animationWithType:) withObject:[NSNumber numberWithInt:PasscodeAnimationTypeConfirm] afterDelay:0.2];
私のメソッドは PasscodeAnimationTypeConfirm と同じ値として分類されない「1」の NSLog を返します。どうすればこれを修正できますか?