Questions tagged «performselector»

10
iOS-如何使用多个参数和afterDelay实现performSelector?
我是iOS新手。我有一个选择器方法如下- - (void) fooFirstInput:(NSString*) first secondInput:(NSString*) second { } 我正在尝试实现这样的东西- [self performSelector:@selector(fooFirstInput:secondInput:) withObject:@"first" withObject:@"second" afterDelay:15.0]; 但这给了我一个错误的说法- Instance method -performSelector:withObject:withObject:afterDelay: not found 关于我所缺少的任何想法吗?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.