This code for developer who wants to turn on/off airplane mode and WiFi inner application.
Just for jailbroken device
You should signed executive file with the Entitlements like:
codesign -fs "iPhone Developer" --entitlements Entitlements.plist Application.app