Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
libMobileGestalt.dylib - iPhone Development Wiki

libMobileGestalt.dylib

From iPhone Development Wiki
Revision as of 21:41, 21 March 2013 by Cykey (talk | contribs) (Created page with "{{DISPLAYTITLE:libMobileGestalt.dylib}} '''libMobileGestalt''' is a library that can be used to get various system values such as the UDID, disk usage, device version and muc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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);
CFRelease(value);
  • Note: You are responsible for releasing the value returned by MGCopyAnswer.

References