Open lechuckcaptain opened 1 year ago
I added an optional argument to the .image snapshot strategy that try to retrieve the UIViewController.contentScrollView (when it's available). This should improve the sizing of the target UIViewController in the case a UIScrollView is used.
.image
UIViewController.contentScrollView
UIViewController
UIScrollView
This proposal should provide a better way of working around the issue https://github.com/pointfreeco/swift-snapshot-testing/issues/264.
Is there any update to this issue?
+1
I added an optional argument to the
.image
snapshot strategy that try to retrieve theUIViewController.contentScrollView
(when it's available). This should improve the sizing of the targetUIViewController
in the case aUIScrollView
is used.This proposal should provide a better way of working around the issue https://github.com/pointfreeco/swift-snapshot-testing/issues/264.