Skip to content

Instantly share code, notes, and snippets.

@i07
Created January 3, 2016 11:42
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i07/c315fdcb3402136e712c to your computer and use it in GitHub Desktop.
Save i07/c315fdcb3402136e712c to your computer and use it in GitHub Desktop.
catch handleNonLaunchSpecificActions exception
import UIKit
extension UIApplication {
func _handleNonLaunchSpecificActions(arg1: AnyObject, forScene arg2: AnyObject, withTransitionContext arg3: AnyObject, completion completionHandler: () -> Void) {
//whatever you want to do in this catch
print("handleNonLaunchSpecificActions catched")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment