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: Difference between revisions - iPhone Development Wiki

LibMobileGestalt.dylib: Difference between revisions

From iPhone Development Wiki
(New header link)
mNo edit summary
Line 12: Line 12:
*'''Note''': You are responsible for releasing the value returned by MGCopyAnswer.
*'''Note''': You are responsible for releasing the value returned by MGCopyAnswer.
== References ==
== References ==
* Header: https://github.com/Cykey/ios-reversed-headers/blob/master/libMobileGestalt.h
* Header: https://github.com/Cykey/ios-reversed-headers/blob/master/MobileGestalt/MobileGestalt.h


{{Navbox Frameworks}}
{{Navbox Frameworks}}
[[Category:Dynamic Libraries]]
[[Category:Dynamic Libraries]]

Revision as of 22:56, 5 May 2013


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