UIStackView Landscape and Device Sizing Support
Twitter
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.

Comments (4)
Suryakant
7 years ago
Brian Voong
7 years ago
Suryakant
7 years ago
Brian Voong
7 years ago
Suryakant
7 years ago
Suryakant
7 years ago
johnrm9
8 years ago
Stephen Novotny
8 years ago
HELP & SUPPORT