StickerEditControllerDelegate
@available(iOS 9.0, *)
public protocol StickerEditControllerDelegate : AnyObject
The StickerEditControllerDelegate
defines methods that allow you to respond to messages from
the StickerEditController
.
-
Tells the delegate when the preview view’s preferred insets changed.
Declaration
Swift
func stickerEditController(_ stickerEditController: StickerEditController, didChangePreferredPreviewViewInsetsAnimated animated: Bool)
Parameters
stickerEditController
The sticker edit controller object that changed the insets.
animated
Whether or not this change should be animated.
-
Called when sliding occurred in the slider.
Declaration
Swift
func stickerEditControllerDidSlide(_ stickerEditController: StickerEditController, toValue value: CGFloat)
Parameters
stickerEditController
The sticker edit controller in which sliding occurred.
value
The value to which the slider was dragged.
-
Called when sliding ended in the slider.
Declaration
Swift
func stickerEditControllerDidEndSliding(_ stickerEditController: StickerEditController)
Parameters
stickerEditController
The sticker edit controller in which sliding ended.