maxep/MXParallaxHeader

Implementation interferes with navbar customization

Closed this issue · 1 comments

Hi, i want to customize my navbar but for some reason, its not possible when the MXParallaxHeader is implemented.

I want the navbar to be translucent. So after i call
`
recipeImageView.contentMode = .scaleAspectFill

detailsScrollView.parallaxHeader.view = recipeImageView
detailsScrollView.parallaxHeader.height = 330
detailsScrollView.parallaxHeader.mode = .fill
detailsScrollView.parallaxHeader.minimumHeight = 0

`

i call this method
self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: UIBarMetrics.default) self.navigationController?.navigationBar.shadowImage = UIImage() self.navigationController?.navigationBar.isTranslucent = true self.navigationController?.view.backgroundColor = UIColor.clear self.navigationController?.navigationBar.backgroundColor = UIColor.clear

but the second method does not seem to have any effect.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.