VKShareDialogController Class Reference

Inherits from UIViewController
Declared in VKShareDialogController.h
VKShareDialogController.m

Overview

Creates dialog for sharing some information from your app to user wall in VK

  uploadImages

Array of prepared VKUploadImage objects for upload and share. User can remove any attachment

@property (nonatomic, strong) NSArray *uploadImages

Discussion

Array of prepared VKUploadImage objects for upload and share. User can remove any attachment

Declared In

VKShareDialogController.h

  vkImages

Photos already uploaded to VK. That is array of photos ids: @[ownerid_photoid, …];

@property (nonatomic, strong) NSArray *vkImages

Discussion

Photos already uploaded to VK. That is array of photos ids: @[ownerid_photoid, …];

Declared In

VKShareDialogController.h

  shareLink

Links attachment for new post

@property (nonatomic, strong) VKShareLink *shareLink

Discussion

Links attachment for new post

Declared In

VKShareDialogController.h

  text

Text to share. User can change it

@property (nonatomic, copy) NSString *text

Discussion

Text to share. User can change it

Declared In

VKShareDialogController.h

  requestedScope

Put only needed scopes into that array. By default equals @[VK_PER_WALL,VK_PER_PHOTOS]

@property (nonatomic, strong) NSArray *requestedScope

Discussion

Put only needed scopes into that array. By default equals @[VK_PER_WALL,VK_PER_PHOTOS]

Declared In

VKShareDialogController.h

  completionHandler

You can receive information about sharing state

@property (nonatomic, copy) void ( ^ ) ( VKShareDialogController *dialog , VKShareDialogControllerResult result ) completionHandler

Discussion

You can receive information about sharing state

Declared In

VKShareDialogController.h

  dismissAutomatically

Flag meaning the share viewcontroller manage it’s presentation state by itself

@property (nonatomic, assign) BOOL dismissAutomatically

Discussion

Flag meaning the share viewcontroller manage it’s presentation state by itself

Declared In

VKShareDialogController.h

  postId

Contains post id created via share dialog. Example string: 123_4567890

@property (nonatomic, readonly, copy) NSString *postId

Discussion

Contains post id created via share dialog. Example string: 123_4567890

Declared In

VKShareDialogController.h