Please select Into the mobile phone version | Continue to access the computer ver.
M300RTK cannot take a picture!
50 1 2-8 23:05
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!
2-8 23:05
Use props
hummels lei
lvl.1
Flight distance : 69846 ft

South Africa
Offline

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

Credit Rules