GestureRecognizer problem in subplots

I am using a longpress gesture on the view and add a button at the place where the user is long pressing, it works fine.

But I have three problems

  • I am unable to apply any gesture effect on the button (in this view).
  • GestureRecognizer issue in subplots

I notice that the same gesture is not applied to subviews as longpressGesture on the main view and then cannot apply the same gesture in the subview (button on the main screen)

As I am trying to TapGesture on the main view then in this case I cannot use the target button on the view.

+3


source to share





All Articles