Determines hardware type of current iOS device.