Add Ionic view controller to existing native iOS app


I’m wondering how much support there is for Ionic being used as more of a child component of a native iOS application. We have an existing native application, and we want to add a section to it that is built in Ionic. We may later want to use that section as more of a standalone, solely-Ionic product.

I’ve already played around with this, by taking the generated Xcode ‘myApp’ project and moving the MainViewController to a point further on in a storyboard. So I managed to defer Ionic’s startup to the point where we need it.

I then noticed that the Splash screen sets its size based on the screen bounds, and generally doesn’t look like it’s already setup to be run in any old view.

Before I go any further on this, does anyone have any examples of this already being done? Or is it advised against?