Embedding NativeScript app in existing View Controller


#1

I am looking to add NativeScript to an existing application. The provided tutorial and associated git repo were immensely helpful. However, I would like to push the nativescript app into an existing view controller or navigation controller. Currently, the app presents a new modal view controller that is pretty jarring to the user.

Has anyone else attempted this? Anyone make any progress?

Thanks!


#2

I have been trying to accomplish exactly what you are trying to do but to no avail. At this point, it appears that there is no way to pass an existing UIView from a native iOS App to the NativeScript app - this would allow a NativeScript frame to be embedded into an existing view. You can also refer to this thread where other people are requesting the same thing from the developers: https://github.com/NativeScript/ios-runtime/issues/459