This is my very first question to the helpful group of stackoverflow.com Please bear with me if question framing is cumbersome!!
I have a collectionView(in a ViewController)
,embedded in a NavigationViewController
.
I have used didSelectItemAtIndexPath
for each of the collectionView
cells, linking them to different viewControllers
,say VC1,VC2 etc
I have hidden the Navigation bar, in the ViewController
containing the collectionView
, using the code
self.navigationController?.navigationBar.hidden = true
In each of VC1,Vc2.....,
I have tried to unhide
the navigationBar
using the code,
self.navigationController?.navigationBar.hidden = False
During simulation, using xCode
, the navigation bar appears only in VC1
, but not in VC2,VC3....