摘要:
IOS7和IOS6适配简易方法在基类ViewController加方法- (void) viewDidLayoutSubviews { if ([UIDevice currentDevice].systemVersion.floatValue>=7.0f) { CGRect viewBounds = self.view.bounds; CGFloat topBarOffset = self.topLayoutGuide.length; viewBounds.origin.y = topBarOffset * -1; self.vie... 阅读全文