Barcode Check Status Icon Annotation
Defined in framework ScanditBarcodeCapture
- SDCBarcodeCheckStatusIconAnnotationAnchor
Added in version 7.2.0
The available anchor options for a status icon annotation.
- SDCBarcodeCheckStatusIconAnnotationAnchorLeft
Added in version 7.2.0
The annotation is anchored at its left edge.
- SDCBarcodeCheckStatusIconAnnotationAnchorRight
Added in version 7.2.0
The annotation is anchored at its right edge.
- SDCBarcodeCheckStatusIconAnnotationAnchorBottom
Added in version 7.2.0
The annotation is anchored at its bottom-center point.
- SDCBarcodeCheckStatusIconAnnotationAnchorTop
Added in version 7.2.0
The annotation is anchored at its top-center point.
- SDCBarcodeCheckStatusIconAnnotation
@interface SDCBarcodeCheckStatusIconAnnotation : UIView <SDCBarcodeCheckAnnotation>
Added in version 7.1.0
A tooltip annotation that toggles between collapsed and expanded states upon tap. In the collapsed state, only the icon is visible. In the expanded state, both the icon and text are displayed.
Collapsed state.
Expanded state.
- - initWithBarcode:
- (
instancetype
)initWithBarcode:(SDCBarcode *)barcodeAdded in version 7.1.0
Constructs a new instance of this class.
- barcode
@property (nonatomic, strong, readonly) SDCBarcode *barcode
Added in version 7.1.0
The barcode instance for the annotation.
- hasTip
@property (nonatomic, assign, readwrite)
BOOL
hasTipAdded in version 7.1.0
Whether the status icon has a tip. Default is YES.
- icon
@property (nonatomic, strong, readwrite) SDCScanditIcon *icon
Added in version 7.1.0
The icon. Default value is black SDCScanditIconTypeExclamationMark, over a SDCScanditIconShapeCircle background shape with a background color of #FBC02C.
- text
@property (nonatomic, strong, nullable, readwrite) NSString *text
Added in version 7.1.0
The text shown in the expanded state. Maximum allowed length is 20 characters, including whitespaces. If nil, the status icon doesn’t expand on tap. Default is nil.
- textColor
@property (nonatomic, strong, readwrite) UIColor *textColor
Added in version 7.1.0
The color of the text. Default is #121619.
- backgroundColor
@property (nonatomic, strong) UIColor *backgroundColor
Added in version 7.1.0
The icon background color. Default is #FFFFFF.
- anchor
@property (nonatomic, assign, readwrite) SDCBarcodeCheckStatusIconAnnotationAnchor anchor
Added in version 7.2.0
The annotation anchor. The default value is SDCBarcodeCheckStatusIconAnnotationAnchorBottom.