enterManualSortMode()

Description

Enables the manual sorting function.

Syntax

- (void) enterManualSortMode

Parameters

None

Return value

void

Remarks

The manual sorting 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 sorting function is activated.

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 enterManualSortMode];
}

@end

See Also

enterSelectMode()
enterNormalMode()

Is this page helpful?

Leave a Reply

Your email address will not be published.