When click the notification generated from my app crashes and goback to appdelegate iOS swift

Solution:

If it went back to appdelegate then just watch the log that produced.If it had any array issues then put the breakpoint and goto step by step and solve it.

First you have to check with didfinishLaunching method in app delegate.Then check with notification delegate methods.After that you cannot find then check with didenterforeground and didenterbackground methods in appdelegate.It's easy after that you can solve.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift