Device rotation is quite a tricky thing to handle in iOS. Today we'll take a look at how to modify out login component to redraw the layout of our UICollectionView cells when transitioning to landscape/portrait orientations.
In addition, we'll render different images based on which orientation we are in. Finally we will make sure the page is in the right location when the device is rotated