pointfreeco / swift-snapshot-testing

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

UIViewController rendering with drawHierarchyInKeyWindow and device safearea #892

Open shuguenot opened 3 weeks ago

shuguenot commented 3 weeks ago

How to render an UIViewController with drawHierarchyInKeyWindow = true and particular safearea config (via ViewImageConfig) ? Both options seems currently incompatible.

Shouldn't we have a image(on:drawHierarchyInKeyWindow:presicion,...) ?

Capture d’écran 2024-08-16 à 09 15 04