I wonder if its possible to check if the user is using an iphone 5 or iphone 6 using size class?
I have a header image that I want to make larger when the user is using an iphone 6 instead of iphone 5.
Right now I am using this library to check what device.
And I do so by adding this in viewDidLoad
if device == .iPhone5 || device == .iPhone5s || device == .iPhone5c {
//Update image size constraints etc
view.layoutIfNeeded()
}
But is it possible to use size class only?