/// 移除所有子控件
    func removeAllSubViews(){
        if self.view.subviews.count>0{
            self.view.subviews.forEach({$0.removeFromSuperview()})
        }
    }
    

  

posted on 2018-09-12 16:13  懂事长qingzZ  阅读(316)  评论(0编辑  收藏  举报