uigesturerecognizer - Unable to detect swipe position from bottom to top in iOS -


i have tried code gesture not detect.

 uiswipegesturerecognizer *mswipeuprecognizer = [[uiswipegesturerecognizer alloc] initwithtarget:self action:@selector(up_downbtn_waytosalon)];  [mswipeuprecognizer setdirection:uiswipegesturerecognizerdirectionup];  [self.duration_distanceview addgesturerecognizer:mswipeuprecognizer]; 

first off, need pass gesture recognizer selector, otherwise can't determine state of gesture.

other first check if view has userinteractionenabled yes, i'm guessing view doesn't user interaction.


Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -