Hi, I would like to change properties of the ImageModalView with panning gesture, but if I implement new gesture recogniser in ImageModalView.swift, the pan gesture in PathDynamicModal stops to respond. How can I please use the panning data from PathDynamicModal in the ImageModalView?
I have added sideways detection to your method and passing CGFloat to ImageModalView as such:
let view = ImageModalView.instantiateFromNib()
view.adjustLabel(CGFloat(panXAmountOnBackground))`
The data are being passed as per console, but the view does not react to the changes. Is there another way I can use the data from pan gesture recogniser in the ImageModalView please?
Hi, I would like to change properties of the ImageModalView with panning gesture, but if I implement new gesture recogniser in ImageModalView.swift, the pan gesture in PathDynamicModal stops to respond. How can I please use the panning data from PathDynamicModal in the ImageModalView?
I have added sideways detection to your method and passing CGFloat to ImageModalView as such:
`let panXAmountOnBackground = pan.x / CGRectGetWidth(self.backgroundView.bounds)
let view = ImageModalView.instantiateFromNib() view.adjustLabel(CGFloat(panXAmountOnBackground))`
The data are being passed as per console, but the view does not react to the changes. Is there another way I can use the data from pan gesture recogniser in the ImageModalView please?