Digital Signature Application In iPhone

In this application we will see how to DigitalSignature draw in iPhone. So let see how it will worked.

Step 1: Open the Xcode, Create a new project using Empty Application . Give the application “DigitalSignature”.

Step 2: Xcode automatically creates the directory structure and adds essential frameworks to it. You can explore the directory structure to check out the content of the directory.

Step 3: We need to create a ViewController class for this application. So select the project New file -> UIViewControllersubclass -> Next -> Give the class name DigitalSignatureView.

Step 4: Open the AppDelegate.h file and make the following changes:




Step 5: Open the AppDelegate.m file and make the following changes:




Step 6: In the DigitalSignatureView.h file, make the following changes:




Step 7: Double click the DigitalSignatureView.xib file and open it to the interface builder. Select the view from interface builder and bring up Attribute Inspector. Change the background color into black. Drag the imageView from the library and
place it to the view. Connect File’s Owner icon to the View and select image. Now save the .xib file , close it and go back to the Xcode.

Step 8: Open the DigitalSignatureView.m file, make the following changes:




Step 9: Now Compile and run the application on the Simulator.

Leave a Comment:

Digital Signature Application in iPhone | iPhone / iPod / iPad Software developing says March 28, 2012

[…] iPhone Tutorial | iPhone iOS4 iPad SDK Development & Programming Blog This entry was posted in IOS Development and tagged Application, Digital, iPhone, Signature by sniuff. Bookmark the permalink. […]

Anshuman says June 14, 2012

From where i can download the code for this tutorial

ravikumar says June 27, 2013

Thank u so much and send refresh the digital signature example

Add Your Reply