I have an UIScrollview(Horizontal) with a UIview as a subview, here i can able to drag the uiview inside the scrollview, the contentSize of scrollview is 2400. When i dragging that uiview it's not visible i.e, it's going inside the scrollview because my scrollview width is small, i need to scroll the scrollview to make visible of UIView. For this i have use
[myscroll scrollRectToVisible:myview.frame animated:YES];
but still its not working, please help me out.