self.backgroundColor = [[UIColor blackColor]colorWithAlphaComponent:0.8f]; 转载于:https://www.cnblogs.com/xujiahui/p/6906968.html