Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4330112
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:55:05+00:00 2026-05-21T09:55:05+00:00

I have to make an application where i need digital signature for authentication before

  • 0

I have to make an application where i need digital signature for authentication before a transaction completes.

Now i do not know how to implement the same. My requirements are:-

  1. A screen where i can sign by swyping my fingers .

Now can anyone please tell me how to do make such a screen where i can sign using my fingers and it can be captured at the back.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T09:55:06+00:00Added an answer on May 21, 2026 at 9:55 am
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 
    {
    
        mouseSwiped = NO;
        UITouch *touch = [touches anyObject];
    
        if ([touch tapCount] == 2) {
            drawImage.image = nil;
            return;
        }
    
        if ((lastPoint.x<17 && lastPoint.y < 116) || (lastPoint.x>287 && lastPoint.y >159))
            NSLog(@"Outside");
        else
        {
            lastPoint = [touch locationInView:vw];
            //          lastPoint.y -= 20;
        }
    
    }
    
    
    - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event 
    {
        mouseSwiped = YES;
    
        UITouch *touch = [touches anyObject];   
        CGPoint currentPoint = [touch locationInView:vw];
    
        if ((currentPoint.x<17 && currentPoint.y < 116) || (currentPoint.x>287 && currentPoint.y >159))
            NSLog(@"Outside");
        else
        {
            UIGraphicsBeginImageContext(vw.frame.size);
            [drawImage.image drawInRect:CGRectMake(0, 0, vw.frame.size.width, vw.frame.size.height)];
            CGContextSetLineCap(UIGraphicsGetCurrentContext(), kCGLineCapRound);
            CGContextSetLineWidth(UIGraphicsGetCurrentContext(), 5.0);
            CGContextSetRGBStrokeColor(UIGraphicsGetCurrentContext(), 0.0, 0.0, 0.0, 1.0);
            CGContextBeginPath(UIGraphicsGetCurrentContext());
            CGContextMoveToPoint(UIGraphicsGetCurrentContext(), lastPoint.x, lastPoint.y);
            CGContextAddLineToPoint(UIGraphicsGetCurrentContext(), currentPoint.x, currentPoint.y);
            CGContextStrokePath(UIGraphicsGetCurrentContext());
            drawImage.image = UIGraphicsGetImageFromCurrentImageContext();
            UIGraphicsEndImageContext();
    
            lastPoint = currentPoint;
    
            mouseMoved++;
    
            if (mouseMoved == 10) {
                mouseMoved = 0;
            }
        }
    
    }
    
    - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event 
    {   
        UITouch *touch = [touches anyObject];
        CGPoint currentPoint = [touch locationInView:vw];
    
    
        if ([touch tapCount] == 2) {
            drawImage.image = nil;
            return;
        }
    
        if ((currentPoint.x<20 && currentPoint.y < 199) || (currentPoint.x>743 && currentPoint.y >425))
            NSLog(@"Outside");
        else
        {
            if(!mouseSwiped) 
            {
                UIGraphicsBeginImageContext(vw.frame.size);
                [drawImage.image drawInRect:CGRectMake(0, 0, vw.frame.size.width, vw.frame.size.height)];
                CGContextSetLineCap(UIGraphicsGetCurrentContext(), kCGLineCapRound);
                CGContextSetLineWidth(UIGraphicsGetCurrentContext(), 5.0);
                CGContextSetRGBStrokeColor(UIGraphicsGetCurrentContext(), 0.0, 0.0, 0.0, 1.0);
                CGContextMoveToPoint(UIGraphicsGetCurrentContext(), lastPoint.x, lastPoint.y);
                CGContextAddLineToPoint(UIGraphicsGetCurrentContext(), lastPoint.x, lastPoint.y);
                CGContextStrokePath(UIGraphicsGetCurrentContext());
                CGContextFlush(UIGraphicsGetCurrentContext());
                drawImage.image = UIGraphicsGetImageFromCurrentImageContext();
                UIGraphicsEndImageContext();
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have to make an application where i need to play two video simultaniously,on
I have a relatively simple application which I need to make native Mac OSX
I have been developing an asp.net mvc application where i need to make large
I have make an application. In this application client need that when user download
I need to make an application that will start playing same media on two
I have 4 different email ids at gmail.I need to make an application that
I am a student. I need to make a application. I have built the
I am developing a web application and now I need to make this application
I finally have finished a Web Application and now I have to make it
i have to make an android application in which i need to find the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.