谢谢
[self btnClicked];
和
[self performSelector:@selector(btnClicked)]; -(void)btnClicked { NSLog(@"Method Called"; }
对我来说都很好.这两者有什么区别. [self btnClicked]和[self performSelector:@selector(btnClicked)];
SEL selector = [self gimmeASelectorToCall]; [self performSelector: selector];
[Source]