I know it may sound like a strange question but i dont want to fall on this . I have read that if i use something that is not documented i can get rejected by Apple , To get iphone kind i use :
//get iphone kind
-(NSString*) machineName
{
struct utsname systemInfo;
uname(&systemInfo);
return [NSString stringWithCString:systemInfo.machine
encoding:NSUTF8StringEncoding];
}
Can i use this ?
The [UIDevice device]
cant do this ,is there a better way ?