UIPageViewController NSInternalInconsistencyException

后端 未结 5 1950
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-20 17:51

I\'m developing a simple UIPageViewController that has two pages. Each page is loaded from a different ViewController with their specific xib

5条回答
  •  太阳男子
    2021-02-20 18:23

    I happened to stumble upon the same error when using the following argument passed on launch:

    -UIViewShowAlignmentRects YES
    

    After wasting 2 days trying to find error within my UIPageViewController, it turned out that after disabling XCode generated yellow rectangle wrappers, the NSInternalConsistencyException evaporated.

提交回复
热议问题