/TiScreenshotDetection

Detect when someone takes a screenshot in your Appcelerator Titanium iOS app.

Primary LanguageObjective-COtherNOASSERTION

#TiScreenshotDetection

gittio License issues

Overview

Detect when someone takes a screenshot in your iOS app.

Important info

Due to an iOS restriction this module only triggeres an event after the screenshot was taken! It is no longer possible to prevent iOS from taking a screenshot!

Installation

Get it gitTio

Download the latest distribution ZIP-file and consult the Titanium Documentation on how install it, or simply use the gitTio CLI:

$ gittio install de.marcelpociot.screenshot

Usage

var screenshotdetection = require('de.marcelpociot.screenshot');
screenshotdetection.addEventListener("screenshotTaken",function(e)
{
	alert( "Screenshot taken!" );
});