I have an iOS application designed programatically using autolayout in swift uikit,
it’s more than 400 screens application with 200+ generic UIComponents, the issue is that when i tap on a button and a view or button and colleciton view cell simultaneously in short if more than one UIComponent the UI behaves abnormally i have custom expandable views with run time constraints so when such views and continue or back buton are tapped simultaneously the expansion and naviagtion both occur and when navigate back to that controller the UI is blank or abnormal
i have tried different approaches
using time stamp, swzilling effect , creating a tocuh manger but no fruit ful result
i want a generic solution which requires minimal chaanges nad what i wan tto achieve is that if more than one ui component is tapped both events are ignored or first one is executed and rest are ignored
i cannot do changes from screen to screen as it extensive application
provide some generic solution
Tried Touch manger with time stamp, and threshold timer
tried method swizlling but causes crashes , to change my targets and gestures with swizlle targets and gestures
tried creating etension and mapping button and view but causes crashes
i want that whenever more than one ui components be it any component is tapped the tpa eventsa re ignored and or one is executed and rest all are ignored
Junaid abbas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.