iOS 9 Segue Causes App To Freeze (no crash or error thrown)

前端 未结 6 2244
抹茶落季
抹茶落季 2020-11-29 09:28

I have been working on this app for months now and from as far back as I can remember I have never had an issue with segues. The code is unchanged in terms of calling

6条回答
  •  执笔经年
    2020-11-29 10:07

    In the method in the first viewController where you activate the segue, do you have beginIgnoringInteractionEvents anywhere? If so the screen you segue to will be frozen and will ignore interaction events like you describe. If this is the case you can fix this by adding an endIgnoringInteractionEvents method before your segue method:

    UIApplication.sharedApplication().endIgnoringInteractionEvents() self.performSegueWithIdentifier("editItemToMyGearSegue", sender: self)

提交回复
热议问题