should probably be useful for this.
I think information should be in
Whicheturns a dictionary of keys and values describing the device.
But I cannot find details or sample code for it.
So, may be you can print the whole dictionary to look for a key that refers to tray ?
Note: this is not a swift forum question, more a devices one probably.
I can't find this field in ios api, it's available only for mac?