Is it possible, without including an exhaustive list of models in the code, to determine if the iOS device contains cellular radio communications?
I am working on adding host availability check for the application and I would like the error message to be appropriate for the device. For instance:
Network connection is not available. Please join a Wi-Fi network or go to a place with the best cellular reception.
This is great for iPhone and iPad 3G, but it is a fan for iPod touch or iPad without 3G. For these devices, I would like to remove the mention of the cellular service.
I don’t want to create an array in the code of every iOS device that Apple sent with cellular radio.
source
share