Exemplo n.º 1
0
        public void Initialize()
        {
            if (IsSourceTypeAvailable(UIImagePickerControllerSourceType.Camera))
            {
                SourceType = UIImagePickerControllerSourceType.Camera;
            }
            else
            {
                SourceType = UIImagePickerControllerSourceType.PhotoLibrary;
            }



            ShowsCameraControls = false;
            AllowsEditing       = true;


            OverlayView       = new CameraOverLayView(this);
            CameraOverlayView = OverlayView;
        }
Exemplo n.º 2
0
 public ResultCallBack(CameraOverLayView view)
 {
     _view = view;
 }
 public ResultCallBack(CameraOverLayView view)
 {
     _view = view;
 }
        public void Initialize()
        {
            if (IsSourceTypeAvailable(UIImagePickerControllerSourceType.Camera))
                SourceType = UIImagePickerControllerSourceType.Camera;
            else
                SourceType = UIImagePickerControllerSourceType.PhotoLibrary;

            ShowsCameraControls = false;
            AllowsEditing = true;

            OverlayView = new CameraOverLayView(this);
            CameraOverlayView = OverlayView;
        }