xcode - UIScrollView with UIButtons - Scroll View won't scroll when touch began on button -
i updated xcode 6 , ios 8 , noticed weird app. in app have scrollview several buttons within it, aligned horizontally. set create own custom scrollable tab bar controller. before update ios 8 , xcode 6 working perfect, realized when try scroll scrollview left or right, , initial touch within 1 of buttons in scroll view, no scrolling happens. if touch in-between buttons scrolling works expected. think it's issue button registering touch , if scrollview never got touched. 100% working before not going on!!
i ended creating subclass of uiscrollview , set it's cancelcontenttouches value true , problem solved
Comments
Post a Comment