Supporting Splitview for SDK

Hi, 👋

I need to support one of my SDK with SplitViewController even SDK using app does not support SplitViewControl (mostly as root view controller)

So, we have 2 choice ✌️

  • Presenting our _SDK(SplitViewController is base view controller of SDK)_ as modalPresentation
  • Changing the apps rootviewcontroller as a splitViewController and presenting the SDK over it (We store the old rootViewController object when dismiss the SDK we replace the rootview to continue the app's nrml flow)

Both of this working fine in basic cases, but will this approach is good for a SDK or __may this result in issues __

Thank you, Have a nice day🤗

Supporting Splitview for SDK
 
 
Q