The zoom for uiscrollview isn't working

后端 未结 3 899
别那么骄傲
别那么骄傲 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 06:49

    You need to return imgv in your delegate method viewForZoomingInScrollView::

    - (UIView *) viewForZoomingInScrollView:(UIScrollView *) view {
        return imgv;
    }
    

提交回复
热议问题