【发布时间】:2018-02-22 09:14:23
【问题描述】:
我有这样的方法:
-(void)fastTapCartBack:(NSString*)ActionType
我想像这样在 NSTimer 中使用它作为选择器:
self.timer = [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:[self performSelector:@selector(fastTapCartBack:) withObject:@"FAST"] userInfo:nil repeats:NO]
但它有错误:
ARC 不允许将 Objective-C 指针隐式转换为“SEL _Nonnull”
【问题讨论】:
标签: ios objective-c nstimer