devicekit / DeviceKit

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

If a device send you its device identifier through network #392

Open quentinfasquel opened 4 months ago

quentinfasquel commented 4 months ago

The current API doesn't allow to identify an Apple Watch device on an iPhone app, there's simply no need for the #if os() preprocessor in mapToDevice(identifier:) method except for simulators.