I am working on Worklight 6.0. I have created an hybrid application with native ios component (environment).I need to navigate from web to native page.For that I am using a plugin which has a method
WL.NativePage.show('FirstViewController', backFromNativePage, params);
I could able to navigate from web to native and native to web. From FirstController, I am presenting SecondViewController and app flow goes on.In one of the Controller, I have added native CAMERA, I am saving and displaying all the captured images in the FinalViewController,and I am presenting FirstViewController again from the FinalViewController.From the FirstViewController I am going back to web page. Using WL.NativePage.show loading the FirstViewController (WHICH IS THE FIRST NATIVE PAGE).
Now the problem is, I couldnt able to present the SecondViewController from the FirstViewController.I am getting prompt as
"Attempt to present <CameraViewController: 0x1d5e1e70> on <FirstScreenViewController:
0x1e88bec0> which is already presenting <CameraViewController: 0x1e8938b0>".
I dono where it goes wrong.Help me in solving this.