I\'m using the below code to get the device name
NSString* code = [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding];
Edit: This has been corrected. The iPhone X is NOT iPhone10,5 and iPhone10,6.
iPhone10,1
iPhone10,4
iPhone10,2
iPhone10,5
iPhone10,3
iPhone10,6