Skip to content

Simple code to add blue dots for every UITouch in an app - Helpful for recording app demos that show touch locations during use.

Notifications You must be signed in to change notification settings

adamwulf/ios-uitouch-bluedots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

iOS UITouch Blue Dots

This repro provides simple code to add blue dots on the screen for every UITouch. This makes it easy to record touch locations for app demo videos.

Getting Started

To add blue dots to your project, just create a MMTouchDotView and add it to the UIWindow when your application launches. That's it!

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // create the blue dot view
    MMTouchDotView* blueDots = [[MMTouchDotView alloc] initWithFrame:self.window.bounds];
    
    // optionally set the dot color, defaults to blue
    // blueDots.dotColor = [UIColor redColor];
    // optionally set the dot width, defaults to 20
    // blueDots.dotWidth = 40;
    
    // add the view to the window to make sure it's always visible
    [self.window addSubview:blueDots];
    
    // Override point for customization after application launch.
    return YES;
}

About

Simple code to add blue dots for every UITouch in an app - Helpful for recording app demos that show touch locations during use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published