From iPhone Development Wiki
Revision as of 03:03, 17 August 2013 by Cykey (talk | contribs) (Reword.)
Jump to: navigation, search

libMobileGestalt is a library that can be used to get various system values such as the UDID, disk usage, device version and much more. It is comparable to liblockdown.dylib.

Example Usage

CFStringRef value = MGCopyAnswer(kMGDeviceColor);
NSLog(@"Value: %@", value);
  • Note: You are responsible for freeing the value returned by MGCopyAnswer.