How add image with scroll view instead of uibutton in scrolling view?

Then Try This: scroll=UIScrollView alloc initWithFrame:CGRectMake(0, 0, 320, 460); scroll. BackgroundColor=UIColor clearColor; scroll. PagingEnabled=YES; scroll.

ContentSize = CGSizeMake(320*33, 300); CGFloat x=0; for(int i=1;iView addSubview:scroll; scroll. ShowsHorizontalScrollIndicator=NO; scroll release.

– ram Jul 23 at 5:30 apply UIPinchGestureRecognizer to the image, so that you can Zoom using UIPinchGestureRecognizer delegate. – Sisu Jul 23 at 6:31.

Instead of adding Imageview and transparent button on top of Imageview. You can just add UIButton customtype and set button image to your image in your scrollview. There is no need to take imageview and UIButton both.

Just take UIButton and setImage and you will be fine. I tried to give you sample code below from my app. Please modify it as per your need.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions