devicekit / DeviceKit

DeviceKit is a value-type replacement of UIDevice.
MIT License
4.42k stars 428 forks source link

Check if the current device is running in SwiftUI previews #302

Closed JackYoustra closed 1 year ago

JackYoustra commented 2 years ago

Basically just an implementation of https://stackoverflow.com/a/61741858/998335