VKCaptchaViewController Class Reference

Inherits from UIViewController
Declared in VKCaptchaViewController.h
VKCaptchaViewController.m

Overview

Controller fo displaying captcha.

+ captchaControllerWithError:

Initializes controller with captcha url

+ (instancetype)captchaControllerWithError:(VKError *)error

Parameters

error

error for request that causes captcha-check

Return Value

Prepared controller. Best way to use it - use presentIn: method

Discussion

Initializes controller with captcha url

Declared In

VKCaptchaViewController.h

– presentIn:

Presents current view controller in another. Automatically hides when captcha was answered properly

- (void)presentIn:(UIViewController *)viewController

Parameters

viewController

Parent view controller

Discussion

Presents current view controller in another. Automatically hides when captcha was answered properly

Declared In

VKCaptchaViewController.h