Makes iOS touch events visual.
CocoaPods
pod 'VisualTouch', :git => 'https://github.com/donpark/VisualTouch.git'
Add VisualTouch.swift
to your project then replace window
instance variable declaration in AppDelegate.swift
file:
var window: UIWindow?
with:
var window: UIWindow? = VisualTouch.Window(frame: UIScreen.main.bounds)
To make touch events visible:
VisualTouch.enable()
To disable:
VisualTouch.disable()