In my app, I have a collection view controller that is accessible by a modal type segue. What I am want is to have a top bar on the collection view controller. However, when I set a top bar in attributes tab of the collection view controller, it shows on the storyboard but not in simulator?

I think that What you are looking for is a UICollectionReusableView.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With