Detect when someone takes a screenshot in your Appcelerator Titanium iOS app.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
assets
example
iphone
.gitignore
.project
CHANGELOG.txt
LICENSE
LICENSE.txt
README.md

README.md

#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!" );
});