M300RTK cannot take a picture!
549 1 2021-2-8
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_kIFd1YLbS2Ke
lvl.1

China
Offline

SDK base is:
pod 'DJI-SDK-iOS', '~> 4.14-trial2'
pod 'DJI-UXSDK-iOS-Beta-Core', '~> 0.4.0'
pod 'DJI-UXSDK-iOS', '~> 4.14-trial1'
pod 'DJIWidget', '~> 1.6.4'
pod 'DJIFlySafeDatabaseResource', '~> 01.00.01.17'


and all firmwares is the latest.


When i try:
if(camera.isFlatCameraModeSupported) {
            [ZQLog bLogI:@"isFlatCameraModeSupported"];
            [camera setFlatModeJIFlatCameraModePhotoSingle withCompletion:^(NSError * _Nullable error) {
                if(error) {
                    [ZQLog bLogE:[NSString stringWithFormat:@"camera error:%@", error.description]];
                } else {
                    [camera startShootPhotoWithCompletion:^(NSError * _Nullable error) {
                        if (error) {
                            [ZQLog bLogE:[NSString stringWithFormat:@"camera error:%@", error.description]];
                        }
                        else {

                        }
                    }];
                }
            }];



I find, startShootPhotoWithCompletion without any error, but the delegate of didGenerateNewMediaFile got nothing!
2021-2-8
Use props
hummels lei
lvl.2
Flight distance : 69846 ft

Hong Kong
Offline

This seems to be a bug in the iOS SDK
2021-2-18
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules