I need to fetch device info from iPhone. I went through this link and find out the way to fetch the device platform.
Determine device (iPhone, iPod Touch) with iPhone SDK
In UIDeviceHardware it has included sys/types.h and sys/sysctl.h and it has used some methods to access that. So I want to know whether this is accepted in the app store as this uses sys imports and sysctlbyname methods. I want to make sure this approach is correct.
Thank you.