Do any of my iOS friends know why a collection view launched in landscape wouldn't respect the safe area until you re-rotate back to landscape?pic.twitter.com/TqNJFgkEao
Hmm invalidating the layout in traitCollectionDidChange and viewWillAppear both don't work, but calling it in viewDidAppear causes it to correct properly (but of course looks bad because it jumps in the UI). I suspect I'm doing something very dumb...
-
-
When I get back tonight I’ll look at what callback I used for real, I definitely remember banging my head on this for a stupidly long time.
-
Okay I figured out a solution that works collectionView.contentInsetAdjustmentBehavior = .always ¯\_(ツ)_/¯
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.