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.
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
Post a Comment