enterSelectMode()

Description

Enables the image selection function.

Syntax

- (void) enterSelectMode

Parameters

None

Return value

void

Remarks

The image selection function is only available when the view mode is DIVME_MULTIPLE. If the view mode is DIVME_SINGLE, calling this method won't throw an error, but only when it is changed to DIVME_MULTIPLE. the selecting function is activated.

See Also

enterManualSortMode()
enterNormalMode()

Example


@interface ViewController ()<DcsUIImageGalleryViewDelegate>{
    DcsView *dcsView;
}
@end
 
@implementation ViewController
 
- (void)viewDidLoad {
    [super viewDidLoad];
     
    dcsView = [[DcsView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
 
    dcsView.imageGalleryView.delegate = self; 
    [self.view addSubview:dcsView];

    [self.dcsView.imageGalleryView enterSelectMode];
}

@end

Is this page helpful?

Leave a Reply

Your email address will not be published.