1. makeObjectsPerformSelector:@select(aMethod)
简介:让数组中的每个元素 都调用 aMethod
实际应用:
[self.navigationView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
2. makeObjectsPerformSelector:@select(aMethod)
withObject:oneObject
1. makeObjectsPerformSelector:@select(aMethod)
2. makeObjectsPerformSelector:@select(aMethod)
withObject:oneObject
本文标题:makeObjectsPerformSelector的用法
本文链接:https://www.haomeiwen.com/subject/aoontxtx.html
网友评论