Inherits from UIViewController
Declared in VKCaptchaViewController.h
VKCaptchaViewController.m

Overview

Controller fo displaying captcha. Example use: @code VKCaptchaViewController * vc = [VKCaptchaViewController captchaControllerWithError:captchaError]; [vc presentIn:someController]; @endcode

Class Methods

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

Declared In

VKCaptchaViewController.h

Instance Methods

presentIn:

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

- (void)presentIn:(UIViewController *)viewController

Parameters

viewController

Parent view controller

Declared In

VKCaptchaViewController.h