enterSelectMode()

Description

Enables the image selection function.

Syntax

func 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.

Example

class ViewController: UIViewController{
    var dcsView:DcsView!
    override func viewDidLoad() {
        super.viewDidLoad()
        dcsView = DcsView(frame: CGRect(x:0,y:0,width:self.view.frame.size.width,height:self.view.frame.size.height))
        view.addSubview(dcsView)
        dcsView.imageGalleryView.enterSelectMode()
    }
}

See Also

uploadAsync()
save()
delete()
saveAsync()
enterManualSortMode()
enterNormalMode()

Is this page helpful?