将CameraOverlayView添加到UIImagePicker

时间:2016-08-22 07:59:05

标签: xamarin camera xamarin.ios uiimagepickercontroller camera-overlay

我在UIImagePicker my Xamarin.iOS应用程序中创建了一个CameraOverlayView 这是我启动cameraView的代码

{
var imagePickerControl = new UIImagePickerController();
imagePickerControl.SourceType = UIImagePickerControllerSourceType.Camera;
imagePickerControl.ShowsCameraControls = false;
//imagePickerControl.CameraOverlayView = new CameraOverlayView();
var imagePickerDelegate = new CameraImagePicker(this);
imagePickerControl.Delegate = imagePickerDelegate;
NavigationController.PresentModalViewController(imagePickerControl, true);
}

上面的代码帮助我创建了一个没有控件的imagepicker ...... 有人可以帮我创建一个CameraOverlayview:UIView 我正在尝试创建一个自定义UI和基本控件(带有2个图像按钮和UI,就像在Instagram相机屏幕中一样)

0 个答案:

没有答案