I am making an sort of similar to dividr in the fact that you have falling objects you must dodge and It works perfectly on the iPhone XR but when I run the simulator for the SE and iphone 7 and other I phones my calculations in my code are messed up, Is there anyway to detect exactly what kind of device they're on? or maybe a better way to go about this to make it universal?
I understand that you can do this
if UIDevice.current.userInterfaceIdiom == .phone
if UIDevice.current.userInterfaceIdiom == .pad
but I'm afraid that isn't specific enough for me