You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to implement pinch to zoom the camera but the adding of the gesture does not seems to be working, HandlePinch method is not getting called. following is my code. not sure what i am doing wrong.
`using System;
using System.Linq;
using AVFoundation;
using CoreGraphics;
using Foundation;
using SampleConsumer.iOS;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using ZXing.Net.Mobile.Forms;
using ZXing.Net.Mobile.Forms.iOS;
[assembly: ExportRenderer(typeof(ZXingScannerView), typeof(CustomZXingRenderer))]
namespace SampleConsumer.iOS
{
public class CustomZXingRenderer : ZXingScannerViewRenderer
{
private UIPinchGestureRecognizer pinchGesture;
private AVCaptureDevice captureDevice;
I want to implement pinch to zoom the camera but the adding of the gesture does not seems to be working, HandlePinch method is not getting called. following is my code. not sure what i am doing wrong.
`using System;
using System.Linq;
using AVFoundation;
using CoreGraphics;
using Foundation;
using SampleConsumer.iOS;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using ZXing.Net.Mobile.Forms;
using ZXing.Net.Mobile.Forms.iOS;
[assembly: ExportRenderer(typeof(ZXingScannerView), typeof(CustomZXingRenderer))]
namespace SampleConsumer.iOS
{
public class CustomZXingRenderer : ZXingScannerViewRenderer
{
private UIPinchGestureRecognizer pinchGesture;
private AVCaptureDevice captureDevice;
}
`
The text was updated successfully, but these errors were encountered: