The zoom for uiscrollview isn't working

后端 未结 3 901
别那么骄傲
别那么骄傲 2021-01-27 06:16

I don\'t understand why the scrollview isn\'t working, because I followed advices from tutorials.

I created the UIScrollView that contains an UIImageV

3条回答
  •  粉色の甜心
    2021-01-27 07:13

    I believe you are forgetting to set the frame of your imageView properly

    self.imageView.frame=CGRectMake(0, 0, self.imageView.image.size.width, self.imageView.image.size.height);
    

提交回复
热议问题