5

My iphone app crashes showing error

*** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 15]'

What does this mean ?

IronManGill
  • 7,222
  • 2
  • 31
  • 52
A_Curious_developer
  • 483
  • 1
  • 5
  • 12
  • 1
    This link will be helpful : [http://stackoverflow.com/questions/3025176/what-causes-this-error-calayer-position-contains-nan-240-nan][1] [1]: http://stackoverflow.com/questions/3025176/what-causes-this-error-calayer-position-contains-nan-240-nan – Alok Nov 28 '14 at 05:01

1 Answers1

4

"CALayer position contains NaN: [nan 15]" indicates that you have a division by zero somewhere. NSLog() will help you isolate it. If you posted the stack log, more help would have been available.

Sizemore
  • 56
  • 3