其他分享
首页 > 其他分享> > 快速清除subviews

快速清除subviews

作者:互联网

NSArray 类定义的方法

  1. makeObjectsPerformSelector:@select(aMethod)

简介:让数组中的每个元素 都调用 aMethod

  1. makeObjectsPerformSelector:@select(aMethod)

         withObject:oneObject

[[self.view subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];

转载于:https://www.cnblogs.com/UncleJoke/p/3975459.html

标签:subviews,makeObjectsPerformSelector,www,removeFromSuperview,清除,aMethod,快速,select
来源: https://blog.csdn.net/weixin_34384557/article/details/94317488