【发布时间】:2015-10-17 17:24:25
【问题描述】:
为什么更新到 iOS 9 后这行代码不起作用?
警告是未声明的选择器'performThisMethod:_ImageData
应用在 [self performSelector:] 上崩溃
[self performSelector:@selector(performThisMethod:_ImageData:)withObject:nil afterDelay:0.05f];
-(void) performThisMethod : (NSData *) data {
NSLog(@"Testing this Method");
}
Apple 改变了什么?
【问题讨论】:
-
Apple 没有改变任何东西,该代码可能永远无法编译
标签: ios uiimagepickercontroller performselector