MediaChallengeViewController
open class MediaChallengeViewController: NibViewController,
    ImagePickerPresenterDelegate,
ChallengeResponderDelegateUndocumented
- 
                  
                  View that displays the video selected. DeclarationSwift @IBOutlet public weak var videoContainerView: UIView!
- 
                  
                  Growing Text View that is used for inputting a description. DeclarationSwift @IBOutlet public weak var textView: GrowingTextView!
- 
                  
                  Button that is used for responding to the challenge. DeclarationSwift @IBOutlet public weak var submitButton: UIButton!
- 
                  
                  Image view that displays the image selected. DeclarationSwift @IBOutlet public weak var imageView: UIImageView!
- 
                  
                  Action label for displaying the type of media to be uploaded. DeclarationSwift @IBOutlet public weak var actionLabel: UILabel!
- 
                  
                  Scroll view of the view. DeclarationSwift @IBOutlet public weak var scrollView: UIScrollView!
- 
                  
                  UIImage for storing the image. DeclarationSwift open var uiImage: UIImage?
- 
                  
                  Url of the video. DeclarationSwift open var videoURL: URL?
- 
                  
                  Url of the image. DeclarationSwift open var imageURL: String?
- 
                  
                  Player observer of the Media Challenge View Controller. DeclarationSwift open var playerObserver: NSObjectProtocol?
- 
                  
                  Image Picker Presenter. DeclarationSwift open var imagePickerPresenter: ImagePickerPresenter?
- 
                  
                  Loading alert that is displayed when responding on a challenge. DeclarationSwift open var loadingAlert: AlertViewController
- 
                  
                  Challenge Responder Object. DeclarationSwift open var responder: ChallengeResponder?
- 
                  
                  Instance of AVPlayer. DeclarationSwift open var player: AVPlayer?
- 
                  
                  Initializer assigning the responder and the challenge DeclarationSwift public convenience init(with challenge: Challenge)
- 
                  
                  DeclarationSwift override open func setup()
- 
                  
                  Undocumented DeclarationSwift override open func viewDidDisappear(_ animated: Bool)
- 
                  
                  Setup Bar title DeclarationSwift open func setupTitle()
- 
                  
                  Setting up the text view. DeclarationSwift open func setupTextView()
- 
                  
                  Setting up the image view. DeclarationSwift open func setupImageView()
- 
                  
                  Setting up the video container view. DeclarationSwift open func setupVideoContainerView()
- 
                  
                  Setting up the action label. DeclarationSwift open func setupLabel()
- 
                  
                  Presents the image picker DeclarationSwift @objc open func uploadMedia()
- 
                  
                  Undocumented DeclarationSwift open func onSuccess(with apiResponse: APIResponse<Challenge.ResponseInfo>)
- 
                  
                  Undocumented DeclarationSwift open func onFailure(with error: Error)
- 
                  
                  DeclarationSwift open func didSelect(asset: PHAsset?, image: UIImage, with imageURL: URL?, from imagePickerPresenter: ImagePickerPresenter)
- 
                  
                  DeclarationSwift open func didSelect(asset: PHAsset?, movieURL: URL, from imagePickerPresenter: ImagePickerPresenter)
- 
                  
                  DeclarationSwift open func didCancelPickingImage()
 View on GitHub
View on GitHub MediaChallengeViewController Class Reference
        MediaChallengeViewController Class Reference