alg / titanium-cameraflash

Collection of iOS camera flash support tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Appcelerator Titanium iPhone Camera Flash

A simple collection of tools for the iOS Camera Flash.

Registering the module

Register the module with your application by editing tiapp.xml and adding your module. Example:

<modules>
  <module version="0.2">com.noizeramp.cameraflash</module>
</modules>

Using the module in code

To use the module in code, you will need to require it.

For example,

var CameraFlash = require('com.noizeramp.cameraflash');

Detecting camera flash availability

CameraFlash.isCameraFlashAvailable()

About

Collection of iOS camera flash support tools

License:GNU Affero General Public License v3.0


Languages

Language:Python 58.1%Language:Objective-C 21.5%Language:XML 9.4%Language:HTML 6.2%Language:JavaScript 4.7%