iphone - Method didn't work in UIScrollView -


hello put uitextfield in uiscrollview,and connect them in interface builder event "touch down" method,the problem when uitexttfield inside uiscrollview method doesn't called , when textfield not in uiscroll view method doesn't called.

uiscrollview special because of touch events needs process itself. try sub-classing uiscrollview , add:

-(void)touchesbegan:(nsset *)touches withevent:(uievent *)event {      nslog(@"you should see touch events on scroll view"); } 

set class name in ib uiscrollview subclass.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -