Split view in portrait mode!

前端 未结 6 1541
梦毁少年i
梦毁少年i 2021-01-11 10:57

Apple provide the split view only for landscape but not for the portrait mode. Is there any way to achieve the splitview in portrait mode also?

[splitViewCo         


        
6条回答
  •  孤街浪徒
    2021-01-11 11:07

    Sometime back I tried to achieve a similar thing. After trying Matt's code, and unsucessfully trying to create a category I realized that the only way to do this(in a way that Apple doesn't reject your app) is to use two custom views. Refer this question.

提交回复
热议问题