ShareChallengeToSocialMediaDelegate

public protocol ShareChallengeToSocialMediaDelegate

Protocol for sharing the Challenge to social media.

  • Share challenge with image.

    Declaration

    Swift

    func share(image: UIImage, with: Challenge, completion: (() -> Void)?)
  • Share challenge with video url.

    Declaration

    Swift

    func share(video url: URL, with: Challenge, completion: (() -> Void)?)
  • Share challenge with url.

    Declaration

    Swift

    func share(url: URL, with: Challenge, completion: (() -> Void)?)