How to expand collectionview cell to full screen
<p>I'm trying to print the image on fullscreen
I used UICollectionViewDelegateFlowLayout
here my code is</p>
<pre><code>func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -&gt; CGSize {
        let itemWidth = collectionView.bounds.width
        let itemHeight = collectionView.bounds.height
        return CGSize(width: itemWidth, height: itemHeight)
    }
</code></pre>
<p>but it doesn't show the content on full screen it makes space from top and bottom</p>