Juce Runtime Determine iPhone or iPad


Is it possible to determine at runtime if the current iOS device is an iPhone or an iPad?

If so, please tell me how.

I already use #if JUCE_IOS to determine if on the iOS platform.


There's no macro to do it - it'd be something you need to ask the OS. Haven't got any code to do it at the moment, but it might be a good feature to add.


FYI: I've added this now - SystemStats::getDeviceDescription()