Swift 3: Twitter - UIStackView Landscape and Device Sizing Support (Ep 10)

Profile Picture
Published on Jan 30, 2017🌏 Public

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. Basic Training Course https://www.letsbuildthatapp.com/basi... Completed Source Code https://www.letsbuildthatapp.com/cour... Facebook Group https://www.facebook.com/groups/12406... Follow me on Twitter: https://twitter.com/buildthatapp