I am using UINavigationController
as a rootController with UIViewController
. In UIViewController, i am adding custom UIView
into the navigationBar(because i want to use CAGradientLayer
to my custom UIView
).
Everything's working fine except that my custom UIView
does not overlap the status bar, which means my custom UIView
is padding from top of the navigationBar.
Is there any solution and way to make it overlap statusBar? Here i included UI of what i want to achieve.