How to snapshot on special iOS version?
davidhu001 opened this issue · comments
SnapshotTesting uses GitHub issues for bugs. For more general discussion and help, please use GitHub Discussions.
Hi @stephencelis @mdiep @gohanlon @ChristopherRogers @heckj
I want to snapshot of a special iOS device and a special iOS OS version, but I find I only can do is set the special iOS device, but I can't set the special iOS OS version.
assertSnapshots( of: hostingController, as: [ "ipad": .image(on: .iPadPro12_9), "iphoneSe": .image(on: .iPhoneSe), "iphone8": .image(on: .iPhone8), "iphoneMax": .image(on: .iPhoneXsMax), ])
I got above this from the Demo, But I haven't found any OK solution for adding the special OS version.
Could you give me some advice so that I can set up the special OS version?
Thank you very much.
Hi @davidhu001, this is not an issue with the library and so I am converting it to a discussion.