iOS UIViewController 边框无故出现20像素空
2017-01-16 本文已影响17人
星空如墨
if([UIViewController instancesRespondToSelector:@selector(edgesForExtendedLayout)]) {
self.edgesForExtendedLayout = UIRectEdgeNone;
}
if([UIViewController instancesRespondToSelector:@selector(edgesForExtendedLayout)]) {
self.edgesForExtendedLayout = UIRectEdgeNone;
}