Numeric pad stroke capturing
Hi all,
I'm new to Objective-C...
Would anybody know how to capture the strokes from the numeric pad of the iPhone. What I want to do is to execute an action whenever a call to a specific number is made.
Example: if a call to the number 1234.567.890 is made, a picture showing a red balloon will be shown in the screen of the phone. Therefore, once I dial a number and press the "green-phone button", I have to compare the number dialed with the pattern 1234.567.890 and, in case they match, I have to show this red balloon in the screen. What I don't know is how to capture the number dialed and how to launch an action when the "green-phone button" is pressed.
Please, help me!
Thank you very much
|