zachgibson / react-native-touch-visualizer

Visualize touches and drags on React Native iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Native Touch Visualizer

Customizable touch visualizer for app demos.
Supports multiple presses and works on native iOS components; e.g. Action Sheets.

React Native touch visualizer demo

Install via npm

$ npm install react-native-touch-visualizer --save

Link it to your project

$ react-native link react-native-touch-visualizer

Edit AppDelegate.m

#import "TouchVisualizer.h"

Change

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

to

self.window = [[TouchVisualizer alloc] initWithFrame:[UIScreen mainScreen].bounds];

Copyright

Copyright (c) 2017 Zachary Gibson Licensed under the MIT license.

About

Visualize touches and drags on React Native iOS


Languages

Language:Objective-C 100.0%