How to open a iOS Native Page using URL Scheme on IBM Worklight?
<p>I need to detect a URL Scheme call and if this call happen I need to start a native page.</p>

<p>By now, I've managed to build the URL scheme detection but how can I load my view and not IBM Worklight webview?</p>

<p>In the AppDelegate implementation I have these methods:</p>

<pre><code>    // This method is called after the WL web framework initialization is complete and web resources are ready to be used.

-(void)wlInitWebFrameworkDidCompleteWithResult (WLWebFrameworkInitResult *)result {
    if ([result statusCode] == WLWebFrameworkInitResultSuccess) {
        [self wlInitDidCompleteSuccessfully]; //declared below
    } else {
        [self wlInitDidFailWithResult:result];
    }
}

-(void)wlInitDidCompleteSuccessfully {
    UIViewController* rootViewController = self.window.rootViewController;

    // Create a Cordova View Controller
    CDVViewController* cordovaViewController = [[CDVViewController alloc] init] ;

    cordovaViewController.startPage = [[WL sharedInstance] mainHtmlFilePath];
    cordovaViewController.webView.scrollView.bounces = YES;

    // Adjust the Cordova view controller view frame to match its parent view bounds
    cordovaViewController.view.frame = rootViewController.view.bounds;

    // Display the Cordova view
    [rootViewController addChildViewController:cordovaViewController];
    [rootViewController.view addSubview:cordovaViewController.view];
}
</code></pre>

<p>My idea is conditionate the call of this method with my other method, but the problem is that the <strong>handleOpenURL</strong> method is called after <strong>wlInitWebFrameworkDidCompleteWithResult</strong>'s call.</p>

<p>Someone can help me?</p>