objective c - iOS Core Plot - Detect swipe gesture on the graph -


i'm using core plot display scatter plot graph, , i'd use swipe gesture switch between graph , uitableview of data graph made of. uiswipegesturerecognizer working fine on table view, swipe events not triggered on graph. graph uiview class set cptgraphhostingview, , code follows :

uiswipegesturerecognizer *swiperight = [[uiswipegesturerecognizer alloc] initwithtarget:self action:@selector(swipehistorydata:)]; [swiperight setdirection:uiswipegesturerecognizerdirectionright]; [graphhostingview addgesturerecognizer:swiperight]; [tablelistview addgesturerecognizer:swiperight]; 

my guess cptgraphhostingview 'eating' swipes in way not detected recognizer. can comment or put me on right road?

sorry figured out - adding same gesture recognizer both graph view , table view. forget doesn't work - because added table view after graph view, table view receives events. need use 2 gesture recognizers (unless can tell me different).


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -