Our Worklight project uses both hybrid and native screens.
Both work fine independently. Our problem pertains to Native screens calling/embedding the Worklight page.
The structure of the native screen is:
- Header & footer with some data and
- Middle section is a native WebView component
If we try to load the Worklight page in the native WebView, it fails to initialize and load the Worklight framework.
In the native WebView we use the following to call the Worklight page:
[webView loadHTMLString:@"worklight file html content" baseURL:[NSURL
URLWithString:@"Pathtoworklightwwwresoucefolder"]];
Please advise if this is possible in Worklight...