Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

README.md

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

Releases

No releases published

Packages

No packages published