//推断是否ios7取消控制拉升if ([[UIDevicecurrentDevice].systemVersiondoubleValue] >= 7.0) {self.edgesForExtendedLayout =UIRectEdgeNone;}