如果是push出来的控制器,self.view的(0,0)点从状态栏下面开始; 如果有present出来的控制器,self.view的(0,0)点包含状态栏; 转载于:https://www.cnblogs.com/56ik/p/5128142.html