ios - How detect ZipException with Objective-Zip? -


I use object-zip with github - I have this if the zip file is broken:

  Exception exception without exception exception due to 'zipexception', reason: 'can not open  

and then get an app crash error, but not the program Falls?

Just grab the exception:

  @try {// zip Code here} @ hold (zip exception * exception) {// error occurred, whatever you need}  

Comments