Rectangle 27 0

objective c Drawing view inside UIScrollView?


You can put a custom button in your customview inside the UIScrollview. If the button is pressed set to OFF the scrollingEnabled property of the UIScrollView. Remember to set it to ON when the user releases the button.

Note
Rectangle 27 0

objective c Drawing view inside UIScrollView?


I've worked with scroll views more often then I would have liked. Trust me, from experience, trying to control its scrolling and interception of gestures is just asking for trouble. When the user goes to sign inside of the scrollview, move the custom signature view from within the scrollview to a custom (and perhaps full screen) dialog with a Cancel/Done button.

Your users will thank you for a large and easier signature space, and the solution should work much better into the future and will not depend on the scroll view to allow you to track touches within it.

Note