launch viewcontroller camera in cordova custom plugin IOS

| | August 10, 2015

I have a framework which launches camera on iPhone , I want to integrate it within a cordova project(ionic) . I was based in the sample plugin helloword to call the view here is my code hello.m:

- (void)greet:(CDVInvokedUrlCommand*)command
{  
    UCViewController *vc = [[UCViewController alloc] init];
    self.window.rootViewController = vc;
}

Could you help me to understand how can I set the cameraview(UCViewController) in the main view of the application and how can the plugin send result to the main application.
thanks for your help.

Leave a Reply