SFFullscreenImageDetailViewController icon indicating copy to clipboard operation
SFFullscreenImageDetailViewController copied to clipboard

Bad behaviour with UITableViewCell

Open NikKovIos opened this issue 8 years ago • 0 comments

I use a subclass of UIImageView

class FullScreenableImageView: UIImageView { override func awakeFromNib() { super.awakeFromNib()

    self.isUserInteractionEnabled = true
    
    let tapGesture = UITapGestureRecognizer(target: self, action: #selector(onTap))
    self.addGestureRecognizer(tapGesture)
}

func onTap() {
    if self.image != nil {
        let controller = SFFullscreenImageDetailViewController(imageView: self)
        controller.presentInCurrentKeyWindow()
    }
}

}

and after dismissing the imageView stays on the top of the window.

NikKovIos avatar Jun 13 '17 18:06 NikKovIos