i have uiscrollview , view. in view have uibutton doesn't work, if have uibutton in uiscrollview works. have user interaction enabled on both.

for button have method:
- (ibaction)search { nslog(@"search"); } 
whatever give view doesn't work.
i solve problem. view not configured (constraints in autolayout)
try
- (bool)touchesshouldcancelincontentview:(uiview *)view { return ![view iskindofclass:[uibutton class]]; } hope helps.
Comments
Post a Comment