I have a screen in my app with multiple child view controllers. On smaller screen sizes like iPhone, the view controllers are placed flush against each other. On iPad screen sizes, one of the view controllers floats on top of the other.
I want to make it so my view controller that sometimes floats only has a corner radius when it's floating. Therefore, I've looked into overriding a method like
Like this (this is current Swift 3):
let tc = UIScreen.main.traitCollection
Now you can interrogate the vertical and horizontal size class of