Detects the hardware, software and display of the current iOS or Mac OS X device at runtime.