Let's take a look at how we can use UIStackView to properly implement a subview that is flexible enough to support multiple device sizes along with Landscape orientation. To illustrate how we can use this component, I'll build out our row of reply, retweet, like, and direct message buttons using a UIStackView.
After we add our UIStackView to the TweetCell, I'll go over how to handle Landscape orientation in our UICollectionViewController by invalidating the layout of our UICollectionView.
Enjoy.