Sorry guys Accidently Marked the ANSWER as Solved
The problem is I am using this in an SDK, I can't have much complex operation for my user.
In this approach going back from SDK may want more concentration. As I need all the VC that is opened before I set the SplitVC as root,
Because the APP may have tabbarviewController/UINavigation as root that needs to be restored when the app leaves
SDK
So kindly gave me any other approaches if possible
Sorry guys Accidently Marked the ANSWER as Solved
The problem is I am using this in an SDK, I can't have much complex operation for my user.
In this approach going back from SDK may want more concentration. As I need all the VC that is opened before I set the SplitVC as root,
Because the APP may have tabbarviewController/UINavigation as root that needs to be restored when the app leaves
SDK
So kindly gave me any other approaches if possible