scrollView.subviews.map { (var view) -> () in if (view is UIButton) { view.removeFromSuperview() } }
scrollView.subviews.map { (var view) -> () in if (view is UIButton) { view.removeFromSuperview() } }
转载于:https://www.cnblogs.com/iosdev/p/4585014.html