pointfreeco / swift-snapshot-testing

📸 Delightful Swift snapshot testing.
https://www.pointfree.co/episodes/ep41-a-tour-of-snapshot-testing
MIT License
3.78k stars 580 forks source link

Support UIViewController contentScrollView #723

Open lechuckcaptain opened 1 year ago

lechuckcaptain commented 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.

This proposal should provide a better way of working around the issue https://github.com/pointfreeco/swift-snapshot-testing/issues/264.

dhrushit-RIT commented 1 year ago

Is there any update to this issue?

maross commented 1 year ago

Is there any update to this issue?

+1