Skip to content

onBackgroundTap leaves empty view with white background #12

@DevGW

Description

@DevGW

I have implemented a tap gesture on an UIImageView and this appears to work as the image is presented and zoomed on tap.

however, when I tap again to dismiss, I am left with an empty view that has a white background, not my original view.

Any help would be greatly appreciated.

Here is the code I am using to call EXPhotoViewer on tap

- (void) imageTapped: (UITapGestureRecognizer *)recognizer {
    NSLog(@"image tapped!");
    UIImageView *tappedView = (UIImageView *)recognizer.view;
    [EXPhotoViewer showImageFrom:tappedView];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions