一行代码移除所有子View
2016-05-17 本文已影响0人
OncerWork
//先移除,后添加
[[self.imageScrollView subviews]makeObjectsPerformSelector:@selector(removeFromSuperview)];
//先移除,后添加
[[self.imageScrollView subviews]makeObjectsPerformSelector:@selector(removeFromSuperview)];