SKResolutions
@interface SKResolutions : NSObject <NSCoding>
This entity represents resolutions that are supported by device’s input source. The resolution values are represented by list and optionally by range. Instances of SKResolutions are reported within scanner capabilities. Clients are not supposed to create instances of this class.
-
Returns list of resolution values. Each value is represented by NSDictionary that contains CGSize representation of horizontal and vertical resolutions.
Declaration
Objective-C
@property (readonly, nonatomic) NSArray<NSDictionary<NSString *, NSNumber *> *> *_Nonnull values;
Swift
var values: [[String : NSNumber]] { get }
-
Returns range of resolutions. This value is optional and may be nil.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) SKResolutionRange *range;
Swift
var range: SKResolutionRange? { get }