dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
576 stars 255 forks source link

productConnected delegate is not called #470

Open ramdhasm opened 3 years ago

ramdhasm commented 3 years ago

I'm developing app with two screens. First screen is home screen with some setting and Tap to Fly button. Second screen is DJI camera view using DefaultLayoutViewController.

My issue is, when i directly opening the DJI camera view, productConnect delegate method is getting called and everything is ok.

But, if i open the first screen and click the fly button, navigating to second screen [DJI camera view]. Now, productConnected delegate method is not called.

Thanks in advance.

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #48787:

Dear Customer,

Thank you for contacting DJI. I'm not sure about your code. Here is a official sample, please try to refer to it. https://github.com/dji-sdk/Mobile-SDK-iOS/blob/master/Sample%20Code/ObjcSampleCode/DJISdkDemo/Startup/DJIRootViewController.m#L72

Thanks,

Luce Luo DJI Developer Support

°°°