Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 816 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 816 Bytes

Assistive-Touch

You can create your own Assistive Touch

  • Xcode 8
  • Swift 3.0

Manually

Simply drag AssistiveTouch file in your project & add below code in your didlaunchwithoptions method

DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(3 * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC), execute: {() -> Void in
            AssistiveTouch.instance.canDrag = true
            AssistiveTouch.instance.showAssistiveTouch()
        })