IBM Worklight v5.0.5 > Develop IBM Worklight applications > Development guidelines for mobile environments > Web and native code in iPhone, iPad, and Android

Switch the display from the web view to a native page

You can include pages in your application pages that are developed in the native operating system language, and can switch between them and the web view.

In iPhone, iPad, and Android applications, natively developed pages can be invoked from your web-based pages and can then return control to the web view. You can pass data from the web page to the native page, and return data in the opposite direction. You can also animate the transition between the pages in both directions.

To switch the display from the web view to a native page, use the WL.NativePage.show method.


Parent Web and native code in iPhone, iPad, and Android