如何解决UINavigationbar与Statusbar for 6 plus设备重叠仅适用于基于菜单的应用程序?
-(void) openpane
{
self.pushBehaviour.pushDirection = CGVectorMake(35.0f, 0.0f);
self.gravityBehaviour.gravityDirection = CGVectorMake(GRAVITY_FORCE,0.0f);
self.pushBehaviour.active = YES;
self.isMenuOpen = YES;
}
-(void) closePane
{
self.pushBehaviour.pushDirection = CGVectorMake(-35.0f, 0.0f);
self.gravityBehaviour.gravityDirection = CGVectorMake(-GRAVITY_FORCE,0.0f);
self.pushBehaviour.active = YES;
self.isMenuOpen = NO;
}
答案 0 :(得分:0)
您可以从顶部为导航栏设置约束常数20.