VKShareDialogControllerInternal Class Reference
Inherits from | UIViewController |
---|---|
Conforms to | UICollectionViewDataSource UICollectionViewDelegate UICollectionViewDelegateFlowLayout UITextViewDelegate VKSdkDelegate VKSdkUIDelegate |
Declared in | VKShareDialogController.m |
– vkSdkNeedCaptchaEnter:
Calls when user must perform captcha-check
- (void)vkSdkNeedCaptchaEnter:(VKError *)captchaError
Parameters
captchaError |
error returned from API. You can load captcha image from captchaImg property. After user answered current captcha, call answerCaptcha: method with user entered answer. |
---|
Discussion
Calls when user must perform captcha-check
Declared In
VKSdk.h
– vkSdkShouldPresentViewController:
Pass view controller that should be presented to user. Usually, it’s an authorization window
- (void)vkSdkShouldPresentViewController:(UIViewController *)controller
Parameters
controller |
view controller that must be shown to user |
---|
Discussion
Pass view controller that should be presented to user. Usually, it’s an authorization window
Declared In
VKSdk.h
– vkSdkAccessAuthorizationFinishedWithResult:
Notifies delegate about authorization was completed, and returns authorization result with new token or error.
- (void)vkSdkAccessAuthorizationFinishedWithResult:(VKAuthorizationResult *)result
Parameters
result |
contains new token or error, retrieved after VK authorization |
---|
Discussion
Notifies delegate about authorization was completed, and returns authorization result with new token or error.
Declared In
VKSdk.h
– vkSdkAuthorizationStateUpdatedWithResult:
Notifies delegate about authorization state was changed, and returns authorization result with new token or error. If authorization was successfull, also contains user info
- (void)vkSdkAuthorizationStateUpdatedWithResult:(VKAuthorizationResult *)result
Parameters
result |
contains new token or error, retrieved after VK authorization |
---|
Discussion
Notifies delegate about authorization state was changed, and returns authorization result with new token or error. If authorization was successfull, also contains user info
Declared In
VKSdk.h
– vkSdkUserAuthorizationFailed
Notifies delegate about access error, mostly connected with user deauthorized application
- (void)vkSdkUserAuthorizationFailed
Discussion
Notifies delegate about access error, mostly connected with user deauthorized application
Declared In
VKSdk.h