SmoothNavDemo icon indicating copy to clipboard operation
SmoothNavDemo copied to clipboard

导航栏没有隐藏

Open yimao009 opened this issue 6 years ago • 0 comments

UIView *barBackgroundView = [self.navigationBar subviews].firstObject;// _UIBarBackground

iOS12 xr机型, 现在的导航栏下边有俩个imageview, 设置父视图barBackgroundView的alpha为0; 还是会显示一条白色, backgroundImageView这个view的alpha还是1 现在我这么做 backgroundImageView.hidden = alpha == 0?YES:NO; 解决的效果

yimao009 avatar Nov 21 '18 06:11 yimao009