The first and last AGSDirectionGraphic of the routeResult.directions is 0. All, other directions returns length. You can add following line in your nextBtnClicked and prevBtnClicked code to check the values.
NSLog(@"length: %.5f",self.currentDirectionGraphic.length);
Regards,
Nimesh