SegementSlide icon indicating copy to clipboard operation
SegementSlide copied to clipboard

shadow on navigationbar

Open AppleTTT opened this issue 4 years ago โ€ข 4 comments

when we push to another viewController,there is black or white shadow on navigationbar.

  1. change the MineViewController headerView to another color picture,like blue
  2. push a normal Controller(called TestViewController) from MineViewController 3.pop TestViewController through right slide or pop method 4.u can see a shadow on the navigationBar

guess: the navigationBarโ€˜s isTranslucent property is true

I change the property to false when viewWillDispear, but no use

can u help me,thx

AppleTTT avatar May 16 '20 08:05 AppleTTT

IMG_0775

just like this

AppleTTT avatar May 16 '20 08:05 AppleTTT

I have same problem...

JustinTsouDeveloper avatar Jul 30 '20 07:07 JustinTsouDeveloper

It is because using TransparentSlideViewController, you can view the TransparentSlideViewController code, including on the navigationBar processing. If the handling of the navigationBar cannot meet the demand of TransparentSlideViewController, can inherit SegementSlideViewController achieve the effect of the custom.

Jiar avatar Sep 03 '20 03:09 Jiar

Or you can try to modify the way of implementation of TransparentSlideViewController, and submit a pull request.๐Ÿ˜‰

Jiar avatar Sep 03 '20 03:09 Jiar