Я бы лучше использовал
double startTime = CACurrentMediaTime();
Это рекомендуемый способ для относительного времени
double starttime;
double endtime;
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
startTime = CACurrentMediaTime();
}
-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{
endtime = CACurrentMediaTime();
NSLog(@"starttime %f endtime %f",starttime,endtime);
double diff = endtime - starttime;
NSLog(@"Diff - %f", diff);
}