I am using UICollectionView using the flow layout.
I have made a custom UICollectionViewCell for the same.
But on running the project the console k         
        
I found that, using storyboards, you have to go into the storyboard and click on the overall View Controller (the view should be highlighted in blue) and go to the Attributes Inspector (the fourth tab on the right side of the screen) and unchecking the "Under Top Bars", "Under Bottom Bars", and "Under Opaque Bars."  This cleared up the issue for me, and it cleared it for my coworkers as well.