1

I want to catch exception globaly in swift ios

i have tried

NSSetUncaughtExceptionHandler { exception in
  print(exception)
  print(exception.callStackSymbols)

}

but not working

please let me know the way with which i can catch all the exception of app at one place

saurabh
  • 6,687
  • 7
  • 42
  • 63
Bhagyashri
  • 11
  • 1
  • 2

0 Answers0