iOS Class for detecting running device type.