iPhoneSettings.generation always Unknown ((int)iPhoneSettings.generation is zero) in the Editor, but you need to adjust values based on resolution, like:
[SerializeField] float worldUnitsPerPixelSwiped;
void Awake () {
if ((int)iPhoneSettings.generation < 7) worldUnitsPerPixelSwiped *= 2;
}
What do you do?