问题内容: I want the content of the collectionView to start from the very top of the screen (top of status bar) because I have transparent navigation bar, I want to avoid magic numbers and it should work with iPhone X and other iPhones. What I have tried ? collectionView.contentInset = UIEdgeInsets(top: -64, left: 0, bottom: