tags:

views:

47

answers:

0

Actually, i am making an iphone appication in which i am using the touch events.

Initially i drag the uibutton on the scrollview & it will call the touch event delegates for uibutton i.e touchbegan, touchmove & touchdrag. Now if i want to change the location of the uibutton on the scrollview , i need to drag the uibutton. If i drag the uibutton it will call the scrollView Delegate.

I used NSObject class one for uiscrollView & one for uibutton.