Overview

This class contains a DcsUIVideoView object, a DcsImageGalleryView object, a DcsUIDocumentEditorView object, and a DcsUIImageEditorView object, etc., which makes it have capabilities of the video display, image and document capture, display, edit, save, upload and download.

Inherits UIView.

DcsView is a manager class. You don't need to create view objects for videoView, imageGalleryView, documentEditorView and imageEditorView. You can use them after initializing DcsView object.


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