since you are not using ARC, when you write
startTime = [NSDate date];
you do not retain startTime
, so it is deallocated before -viewWillDisappear
is called. Try
startTime = [[NSDate date] retain];
Also, I recommend to use ARC. There should be much less errors with memory management with it, than without it