currentView

Description

Gets or sets the current view type. The default is DVE_IMAGEGALLERYVIEW.

Data type

DcsViewEnum

Syntax

var currentView:DcsViewEnum

Remarks

Enumerated Value View Type
DVE_VIDEOVIEW Video view
DVE_IMAGEGALLERYVIEW Image gallery view
DVE_EDITORVIEW Edit view. When the data you operate with is DcsDocument, it displays the document editor. If it's DcsImage, then it displays the image editor.

Example

class ViewController: UIViewController {
override func viewDidLoad() {
        super.viewDidLoad()
        let dcsView=DcsView()
        dcsView.currentView=DVE_VIDEOVIEW