iphone - My uitableview cells using in anywhere in application are only selectable on long press ios 9.2, I am not using any gestures -


i using custom xib cells in application facing problem regarding tableviews, uitableviewcell not getting selected on single tap, have long press cell selecting it. using custom xib cell , have not used gesture recognizer in classes. facing problem in every table view in nidropdownlist’s tableview open source library have used many time..

i using cdsidemenu , tsmessage library contains uigesturerecognizers in it.

uiswipegesturerecognizer *gesturerec = [[uiswipegesturerecognizer alloc] initwithtarget:self action:@selector(fademeout)]; [gesturerec setdirection:(self.messageposition ==tsmessagenotificationpositiontop ? uiswipegesturerecognizerdirectionup : uiswipegesturerecognizerdirectiondown)];

[self addgesturerecognizer:gesturerec]; [gesturerec setcancelstouchesinview:no];

i have set gestures not cancel other touches in view , solved problem [gesturerec setcancelstouchesinview:no] :)


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -