subinspathilettu / SJSegmentedViewController

MIT License
334 stars 126 forks source link

Display cut header while push view controller to come back pop view controller. #75

Open pradipibl opened 6 years ago

pradipibl commented 6 years ago

Before pushed

simulator screen shot - iphone 6s - 2017-11-14 at 13 02 10

after pushed to come back using POP Viewcontroller.

simulator screen shot - iphone 6s - 2017-11-14 at 13 03 00

RaziPour1993 commented 6 years ago

I also have this problem What is the solution to this problem?

91haba commented 6 years ago

@RaziPour1993 Same problem, too. Do you solve this problem? I try this code in ContainerViewController, but not working

override func viewWillLayoutSubviews(){ headerViewHeight = UIScreen.main.bounds.height / 3.335 self.view.layoutIfNeeded() }

Do you have asynchronously download image logic in headerViewController, too? Do you have any ideas about why this bug happen?