Search code examples
iosswiftiphone-6

Application crashing when reopen from the background in iphone 6


I have one issue which is related to my iphone6. When i install the app and run the app for first time it is working fine. Once the app is entered into background mode and again i want to reopen the app, the application suddenly crashed without calling any application delegate methods and killed from background. Again tap on the app icon, it is launched from starting on words. It is happening only on my iphone6 device. I tested same scenario with another iphone6 device it is working perfectly. What should i do resolve this problem. Thanks in advance.


Solution

  • Finally, i found the problem where it was happening. Problem is with CoreTelephony framework. Initially, i am checking for network signal whether it is 2G or 3G etc.. This framework sometimes returns null value through notification.