Embed a ns app into an ios app


Hi guys
I have been trying to follow the tutorial about embedding ns into ios.
But the repo is quite old and i’m not sure if it’s not outdated.
I want to have a viewController with my angular ns app embeded inside and i would like to be able to show/ hide and control it from my other viewController.
I tried to copy the main.m code from the platfrom project into the onload of my ns viewController but i get the error Frame must be used to navigate to a Page.

Any idea ?