objective c - UIScrollView, how to set size to image size? -


I have UIScrollView, with UIImageView at the top, I have a few things that I'm trying to decide: < / P>

1) Initially, the image is scaled to fit the screen (this is good). How can I set a border so that you can zoom out of this point (I do not want to see anyone from the background)?

I could not find anything of some sort of maxSize property

2) How can I set that amount to someone who can zoom? I do not want users to do X8 or anything like that.

1)

  [scrollwidth setminumzscale: float];   

2)

  [scrollview setmexiumzscake: float];    

Comments

Popular posts from this blog

python - Assemble mpeg file unable to play in mediaplayer -

c# - crystal report failed -

mongodb - CakePHP paginator ignoring order, but only for certain values -