Unbalanced calls to begin/end appearance transitions for

前端 未结 25 1120
陌清茗
陌清茗 2020-12-02 06:31

I have this problem when I simulate my app, its not an error or a warning but it appears in my console, has anyone ever experienced this before?

25条回答
  •  一向
    一向 (楼主)
    2020-12-02 06:47

    This was a tough one for me: I've overridden

    override func shouldAutomaticallyForwardRotationMethods() -> Bool {
        return true
    }
    

    without overriding:

    override func shouldAutomaticallyForwardAppearanceMethods() -> Bool {
        return true
    }
    

    in my window root navigation controller. then a child navigation controller complained when pushing another view controller with the above mentioned warning. The warning wasn't the worst, the big problem was, that there the delegate of the child navigation controller weren't called anymore. weired.

提交回复
热议问题