I have an application for audio/video call using SIP protocol.It working fine when i tried to make a call with ios5 device or used it on ios 5 device but it crash when i tried to call or use it on ios 6. It crash on only when i tried to make a video call with ios6 device to ios5 device. Crash message
Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [2.74665e-34 nan]'
After analyzing my crash report and my code
I found the bug. I am using a method which is override from another class but somehow it’s not working in iOS 6 and that’s why it return some zero value because of this zero value it returns nan value and it crashed.