initWithAspectRatio: method of the AUIAreaOfInterest interface
Returns a new instance of the AUIAreaOfInterest interface with set aspect ratio. The aspect ratio is counted by division of the document's width to its height.
In case the end-user changes a camera orientation during capture, the area of interest, set by this method, will be inverted. To save the area of interest unchanged, use the areaOfInterestWithPortraitAspectRatio: method.
- (AUIAreaOfInterest*)initWithAspectRatio:(CGFloat)aspectRatio;
Parameters
- aspectRatio
- The aspect ratio value of the area of interest.
Return values
The method returns an instance of an AUIAreaOfInterest object with the passed to the method aspect ratio value.
3/2/2022 12:59:15 PM