enterManualSortMode()

Description

Enables the manual sorting function.

Syntax

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

See Also

enterSelectMode()
enterNormalMode()

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.enterManualSortMode()
    }
}
Is this page helpful?