BRAppearanceIconKey
Objective-C
enum BRAppearanceIconKey : NSInteger {}
Swift
enum BRAppearanceIconKey : Int, @unchecked Sendable
Identifiers for every icon the SDK can resolve from your BRAppearanceTheme.
Override -[BRAppearanceTheme imageForKey:] and return a UIImage, or
nil to keep the built-in asset. Each case lists the recommended image
size in points; the stock control scales the image to fit its button if
you supply a different size, so the listed size produces the cleanest
result. Include @2x and @3x variants for Retina screens.
-
Torch button on the camera screen, torch-off state. Recommended size: 46 × 46 pt.
Declaration
Objective-C
BRAppearanceIconKeyTorchButtonOffSwift
case torchButtonOff = 0 -
Torch button on the camera screen, torch-on state. Recommended size: 46 × 46 pt.
Declaration
Objective-C
BRAppearanceIconKeyTorchButtonOnSwift
case torchButtonOn = 1 -
Help / info button on the camera screen. Recommended size: 46 × 46 pt.
Declaration
Objective-C
BRAppearanceIconKeyInfoButtonSwift
case infoButton = 2 -
Shutter button on the camera screen, default state. Recommended size: 98 × 98 pt.
Declaration
Objective-C
BRAppearanceIconKeyTakePictureButtonSwift
case takePictureButton = 3 -
Shutter button on the camera screen, highlighted / pressed state. Recommended size: 98 × 98 pt.
Declaration
Objective-C
BRAppearanceIconKeyTakePictureButtonPressedSwift
case takePictureButtonPressed = 4 -
“Add another frame” button on the confirm screen (same control as the shutter). Recommended size: 98 × 98 pt.
Declaration
Objective-C
BRAppearanceIconKeyAddFrameButtonSwift
case addFrameButton = 5 -
“Retake” button on the confirm screen. Recommended size: 46 × 46 pt.
Declaration
Objective-C
BRAppearanceIconKeyRetakeButtonSwift
case retakeButton = 6 -
“Finish” button on the confirm screen. Recommended size: 46 × 46 pt.
Declaration
Objective-C
BRAppearanceIconKeyFinishButtonSwift
case finishButton = 7 -
Close (cancel) button on the camera screen. Recommended size: 46 × 46 pt.
Declaration
Objective-C
BRAppearanceIconKeyCloseButtonSwift
case closeButton = 8
View on GitHub