解决办法: 纯代码:在该控制器的viewDidLoad方法里加入这行代码: self.extendedLayoutIncludesOpaqueBars = YES; http://www.cnblogs.com/culing/p/6075098.html