iPad – How to use UISPLITVIEWCONTROLLER as a modal view controller?

I am trying to display a UISplitViewController in my iPad app, to display it as a modal view controller. I managed to make it display, but for some reason, the modal view left There is a gap on the side, the size of the status bar, which will be retained when the direction is changed.

Does anyone know why this is happening? Or if it is possible? Maybe I’m just digging myself a huge hole.

The inventory UISplitViewController is only used as the root view controller .Proposing a modal violates the Apple Human Interface Guidelines and is likely to be rejected by the App Review team. In addition, you may receive an error:

Application tried to present Split View Controllers modally

I am trying to display a UISplitViewController in my iPad application and display it as a modal view controller I managed to get it to display, but for some reason, there is a gap on the left side of the modal view, the size of the status bar, which is also retained when the orientation is changed.

Does anyone know why this is happening NS? Or if it is possible? Maybe I’m just digging myself a huge hole.

The stock UISplitViewController is only used as the root view controller. Proposing a modal violates the Apple Human Interface Guidelines , It is very likely to be rejected by the App Review team. In addition, you may receive an error:

Application tried to present Split View Controllers modally

Leave a Comment

Your email address will not be published.