Start a new topic

Blank screenshot

Blank screenshot


Hi Luca!
Can it be the case that you're using the Wikitude SDK 3.3.0? This particular version of our SDK had problems generating the image on iPhones. Please download the Wikitude SDK 3.3.1 which fixes this issue.

Please respond in this thread if your still have problems after updaing to 3.3.1.

Best regards

Andreas

Hi,

I'm using this code, token from example project, to take a screenshot, but it saves a blank image...

 

NSDictionary* info = ;

                    ;

 

-(void)architectView:(WTArchitectView *)architectView didCaptureScreenWithContext:(NSDictionary *)context

{

    UIImage* image = (UIImage *);

    WTScreenshotSaveMode saveMode = ;

    

    switch (saveMode)

    {

        case WTScreenshotSaveMode_Delegate:

            ;

            break;

            

        case WTScreenshotSaveMode_PhotoLibrary:

            ;

            break;

            

        default:

            break;

    }

}

 


- (void)showPhotoLibraryAlert

{

    UIAlertView *alert = ;

    ;

}

 

- (void)architectView:(WTArchitectView *)architectView didFailCaptureScreenWithError:(NSError *)error

{

    UIAlertView *alert = ;

    ;

 

}

 

No errors appear. showPhotoLibraryAlert always runs, that's why?
Login or Signup to post a comment