uiscrollview problem
I have a view over which i take a scroll view in which i make a small draggable image . now i want to set the image in content view of the scroll view ..开发者_如何学Go.how can i plz help
[scrollView addSubview:yourImageview];
should add the image view to your scrollview. Make the contentSize
of the scrollView according to your needs(yourImage.size
should do it I guess).
scrollView.contentSize = imageview.size;
[scrollView addSubView:imageView]
精彩评论