swift 如何删除subviews scrollView.subviews.map { (var view) -> () in if (view is UIButton) { view.removeFromSuperview() } }