Add method for getting hardware device from UIDevice.