开发中经常会遇到ViewController添加scroll或是其子类被添加进controller.view时,scroll会自动下移大概64像素
解决:
self.edgesForExtendedLayout = UIRectEdgeNone; //viewController 的所有子视图都会自动调整。