iOS9 storyboard what is unhandled action (handleNonLaunchSpecificActions)?

前端 未结 4 1227
伪装坚强ぢ
伪装坚强ぢ 2021-02-01 00:33

I\'ve noticed the following error popping up in the console when running my app on iOS 9 when using a storyboard. I\'m using xCode7. Is this something I need to be concerned ab

4条回答
  •  日久生厌
    2021-02-01 00:49

    haven't find out why it happens in my app, but at least you can catch the exception, if you want to keep this from popping up in your log pane. It's not a solution, but it might give you more insight why it is happing by inspecting any of the arguments that are passed in the catch.

    swift 2 version:

    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")
        }
    }
    

提交回复
热议问题