phonegap/phonegap-plugins — pull request #826 by tolien (2012-10-05 09:37:31+00:00)
Title: Add isCapable method to allow device capability detection

The Android version of this plugin has an isCapable method to detect whether the device has a flash and can be used as a torch. These changes add that functionality to the iOS version.