Dev:GSCapability

GSCapability is a group of C functions that checks the capability of the device. A capability can be anything from a simple boolean value (such as whether the device can take pictures) to a complex structure (such as the screen dimensions).


 * Note: On iOS 7, GSSystemHasCapability (see example below) crashes with _abort unless you query for @'explicitContentRestriction". You should use MGGetBoolAnswer instead.

See also: GSC bit.

Extracting the capability dictionary
The capabilities are stored as a plist in a shared memory region named "GSCapabilities". You can use this code to extract it:

This shared memory is constructed by the SBPlatformController class in.