EZSwipeController
EZSwipeController copied to clipboard
Hiding UINavigationBar
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.
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.