SDVersion
SDVersion copied to clipboard
Use the simulator identifier from NSProcessInfo on simulated OSes.
This PR fixes #79 by returning the simulated device model from NSProcessInfo, so that if you’re using SDVersion on the simulator you can simulate device-specific code for testing.
Hey, is there some issue in merging this. We are using this library and it would be awesome if the capability could be added to simulators as well.
@sebyddd Any comment on this PR?
@sebyddd Can this be merged?