if (UIView) { [UIView removeFromSuperview]; UIView = nil; } 转载于:https://www.cnblogs.com/allenwuhen/p/7573982.html