Set the supported devices
marcosgriselli opened this issue · 1 comments
marcosgriselli commented
At the moment Sizes doesn't allow of setting the devices available to test. Your app might not support the last iOS version an iPhone 4s is able to run so having iPhone 4 listed doesn't make sense.
marcosgriselli commented
Closed on bd88ddd
We can now set the supported devices on with
sizesViewController.set(devices: Device.valuesForIdiom(.pad))
For convinience Device has now a valuesForIdiom(_ idiom: UIUserInterfaceIdiom) -> [Device]
method so we can list iPhones or iPads easily.