Определение того, поддерживает ли устройство телефонные звонки?

Is the below code reliable to be used to determine whether a device can support phone calls or not? My concern is if apple changes the iphone string to anything else let's say they decide to have "iphone 3g", "iphone 4" etc.

[[UIDevice currentDevice].model isEqualToString:@"iPhone"]
45
задан Vadim Kotov 24 August 2017 в 08:32
поделиться