EZSwipeController icon indicating copy to clipboard operation
EZSwipeController copied to clipboard

Hiding UINavigationBar

Open YouKnowOJ opened this issue 7 years ago • 1 comments

Is there a way to hide the navigation based on the current VC?

For example, I retrned 4 VCs : return [firstLevelVC, secondLevelVC, thirdLevelVC, fourthLevelVC] and I want the UINavigationBar to be present on all but the "thirdLevelVC"

Tried using changedToPageIndex, but that doesn't work.

YouKnowOJ avatar Oct 10 '16 17:10 YouKnowOJ

Your best option seems to be utilising navigationBarDataForPageIndex. Simply return a standard UINavigationBar for all of your VC's except the third, where you can simply set visible to false.

JFKingsley avatar Oct 11 '16 01:10 JFKingsley