Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support UIAppearance and visual effect views #78

Closed
stephencelis opened this issue Nov 5, 2018 · 0 comments
Closed

Support UIAppearance and visual effect views #78

stephencelis opened this issue Nov 5, 2018 · 0 comments

Comments

@stephencelis
Copy link
Member

iOSSnapshotTestCase supports UIAppearance and visual effect views using a window and drawViewHierarchyInRect:

https://github.com/uber/ios-snapshot-test-case/blob/de1c714952ca6b7f1a40670135297fd761ba43cf/FBSnapshotTestCase/Categories/UIImage%2BSnapshot.m#L39-L70

We typically write tests against framework, not app, targets, where I'm not sure this is even possible. We should investigate support, though, maybe at least by introspecting whether or not there's a window we can use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant