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
The above approach is "ok" though not optimal. Because the views are being removed, its best to put the UITapGestureRecognizer in the UIView+MDCSwipeToChoose class. I did the following:
Add the gesture in mdc_swipeToChooseSetup function
Notification is not the best way to actually tell my viewController to perform the segue but the approach to add the gesture to the class is better than to the frontView. That way each view created conforms to both swipe and tap gesture and only the top view has user interaction enabled and taping it causes the actual segue to be performed.
How to add addTarget on frontCardView so I can show profile details.
The text was updated successfully, but these errors were encountered: