We are writing static library. We have done exception handling for the exposed APIs. But still there are few un-handled Exceptions (or OS Exceptions). Can you please let me know how to catch these unhandled Exceptions. Thanks
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
- How can I add media attachments to my push notific
Well, you could always rely on the Catch'em All Principle
For this kind of problem, I always use following code:
You can use
NSSetUncaughtExceptionHandler
, you probably should add it to AppDelegateyou can finde example on this page: http://www.learn-cocos2d.com/tag/nssetuncaughtexceptionhandler/
Simple -
Happy coding ...