ios - UIScrollview delaysContentTouches issue -


i have uiscrollview loaded uibuttons , on uibutton action have highlighted uiimage of each uibutton.

if don't set delayscontenttouches no highlighted uiimage of uibutton not shown if touch uibutton fast. after set delayscontenttouches property no uibutton highlighted uiimage shown.

now after setting delayscontenttouches property no uiscrollview. can not scroll uiscrollview dragging on uibuttons. how can resolve issue.

please give me advise.

thanks in advance.

here's works me. subclass uiscrollview, , implement method:

- (bool)touchesshouldcancelincontentview:(uiview *)view {     return yes; } 

then set delayscontenttouches = no;

voila! works home screen: highlights buttons immediately, still allows scrolling :)


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -