What is a good way to record time between user events on iPhone? ie. time between pressing Button_A and Button_B.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
A more accurate way than using
[NSDate date]is to use thetimestampproperty of theUIEvent. To get theUIEvent, make sure you use the two-argument form for the target-action method.