Dev:BackBoardServices.framework

BackBoardServices is a framework that was introduced in iOS 6.0. It serves as a communication bridge between SpringBoard and backboardd. The framework itself has absolutely no function other than to communicate between SpringBoard's Mach messaging server and backboardd's XPC server. It is solely a small wrapper around the XPC API, to keep SpringBoard and backboardd from having to deal with it directly.

The innards of BackBoardServices are actually quite simple. Almost every function in BackBoardServices creates an XPC connection with the opposing process, and then sends an XPC object identifying the function called. Then, the destination (being either SpringBoard or backboardd) receives the object, and performs the actual function, sending back a return value if necessary.

BackBoardServices can be used for many system and hardware functions, including launching/closing applications, setting the backlight level and more.

Killing an application
Replace com.apple.mobilesafari with the application's bundle identifier.

The last two arguments are used for the description, where the first is an unknown integer (use 1), and the second is your reason. These two arguments are not compulsory, but are followed by good practice.

Killing all applications
Again, it is not mandatory to specify a description but it is a good thing to consider doing.

Setting Backlight Level
The factor should be a number from 0.0 to 1.0, inclusive.

Detecting Ambient Light Sensor
Check if Ambient Light Sensor exists or not. return 1 if exists.