iPhone - UIScrollView inside UIView not scrolling

前端 未结 3 1232
清酒与你
清酒与你 2021-02-07 21:11

I have a UIView which contains lot of labels, buttons, textviews. But there is a certain part of that UIView that I want to make scrollable.Here is how

3条回答
  •  温柔的废话
    2021-02-07 21:25

    scroll.contentSize= CGSizeMake(320,2700);// You can use contentsize according to your requirements

    You have put here only scrollview code. So,I can't figure out what is wrong. Use following reference...

    UIScrollView With UITextField

    Hope, this will help you..

提交回复
热议问题