mNo edit summary |
m (Reword.) |
||
Line 10: | Line 10: | ||
</source> | </source> | ||
*'''Note''': You are responsible for | *'''Note''': You are responsible for freeing the value returned by MGCopyAnswer. | ||
== References == | == References == | ||
* Header: https://github.com/Cykey/ios-reversed-headers/blob/master/MobileGestalt/MobileGestalt.h | * Header: https://github.com/Cykey/ios-reversed-headers/blob/master/MobileGestalt/MobileGestalt.h |
Revision as of 03:03, 17 August 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 freeing the value returned by MGCopyAnswer.
References