2
我想删除状态栏到导航栏的距离。怎么做?导航栏自定义高度
if ([self.navBar respondsToSelector:@selector(setBackgroundImage:forBarMetrics:)])
{
[self.navBar setBackgroundImage:[UIImage imageNamed:@"bar-top"]
forBarMetrics:UIBarMetricsDefault];
}
如果有帮助的U,你可以投票并acept让其他人知道他们是否可以使用它:) – Omarj