react-native/React
Nick Lockwood ac12f98689 Added support for taking snapshots of the screen, window or individual views
Summary:This adds a `takeSnapshot` method to UIManager that can be used to capture screenshots as an image.

The takeSnapshot method accepts either 'screen', 'window' or a view ref as an argument.

You can also specify the size, format and quality of the captured image.

I've added an example of capturing a screenshot at UIExplorer > Snapshot / Screenshot.
I've also added an example of sharing a screenshot to the UIExplorer > ActionSheetIOS demo.

Reviewed By: javache

Differential Revision: D2958351

fb-gh-sync-id: d2eb93fea3297ec5aaa312854dd6add724a7f4f8
shipit-source-id: d2eb93fea3297ec5aaa312854dd6add724a7f4f8
2016-02-23 02:26:33 -08:00
..
Base Added support for taking snapshots of the screen, window or individual views 2016-02-23 02:26:33 -08:00
Executors Expose way for native modules to modify JSC context 2016-02-15 12:58:29 -08:00
Layout updated css-layout and fixed callsites 2015-12-21 10:18:41 -08:00
Modules Added support for taking snapshots of the screen, window or individual views 2016-02-23 02:26:33 -08:00
Profiler Added throttling on requests made by RCTImageLoader 2016-02-16 12:42:34 -08:00
React.xcodeproj Fix OSS iOS build 2016-02-17 07:38:33 -08:00
Views Support rotation in RCTModalHostView 2016-02-22 04:44:34 -08:00