devicekit / DeviceKit

DeviceKit is a value-type replacement of UIDevice.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If a device send you its device identifier through network

quentinfasquel opened this issue · comments

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.