iOS 13 UISplitView Problems

后端 未结 8 1271
情话喂你
情话喂你 2021-01-02 14:00

On iOS 13 Beta 5, I currently have problems with my UISplitView on iPhones.

My app starts with the detailsview off my splitview not with my masterview (look at the p

8条回答
  •  心在旅途
    2021-01-02 14:33

    I had the same issue.

    After a bit of investigation it seems like viewDidLoad is too late to set it to all visible.

    I subclassed the UISplitViewController and changed the setting in awakeFromNib method. Now it is working as expected.

提交回复
热议问题