Bill Chan
Bill Chan
@typfel @johnxnguyen this PR is still necessary as we have build older version with older assets.
I have a similar issue when I want to snapshot the bottom of a view with `tableView.setContentOffset(CGPoint(x:0, y:CGFloat.greatestFiniteMagnitude), animated: false)` it does not scroll to the bottom, but 2 or...
I check that the frame of the layer is set. see https://github.com/wireapp/wire-ios/blob/b331ea4b06652d01f9298b553d91e6818d41782a/Wire-iOS/Sources/UserInterface/Components/Controllers/FullscreenImageViewController.swift#L525
And I also found that the blur layer can not be snapshotted, maybe also related to layer?
I use UIView's snapshotViewAfterScreenUpdates method. It works on devices.
@JALsnipe , yes, when I tried to save the produced UIView to UIImage with @JV17's code, it produce a black images on device.