SnapscreenSnapViewController
@interface SnapscreenSnapViewController
SnapscreenSnapViewController offers the snapping logic from Snapscreen to your application. Instantiate via SnapscreenKit
and then display it in your application. The recommended way to present the view controller is to present it as a modal view that covers the whole screen.
Use the delegate callbacks to get information about the snapping process. In any case you are responsible to dismiss the view controller again.
To customize the appearance of the viewfinder, zoom level indicator and snap button, set the tintColor or the snapButtonImage accordingly. To customize the color of the navigation bar and it’s bar items use the default UIAppearance API calls.
-
The delegate of the view controller. Never should be nil, because the delegate is responsible for dismissing the view.
Declaration
Objective-C
@property (atomic, weak, readwrite, nullable) id<SnapscreenSnapViewControllerDelegate> delegate;
Swift
weak var delegate: SnapscreenSnapViewControllerDelegate? { get set }
-
The tint color to apply to the view finder and zoom level indicator. Defauts to the snapscreen corporate blue. *
Declaration
Objective-C
@property (nonatomic, nullable, strong) UIColor* tintColor
Swift
var tintColor: UnsafeMutablePointer<Int32>? { get set }
-
The image to use as the snap button. Defaults to a standard camera icon in snapscreen corporate blue. *
Declaration
Objective-C
@property (nonatomic, nullable, strong) UIImage* snapButtonImage
Swift
var snapButtonImage: UnsafeMutablePointer<Int32>? { get set }