UIView. What are the maximum bounds dimensions I can use?

前端 未结 3 1789
刺人心
刺人心 2020-12-19 08:45

Does anyone happen to know the maximum value for someView.bounds.size ? I\'m creating a view hierarchy with where the accumulated bounding-box of all child views is equal to

3条回答
  •  被撕碎了的回忆
    2020-12-19 09:25

    I don't know that there's a specific limit. I have created UIScrollViews that are hundreds of pages in width without any problem. Have you tried it and run into problems?

    Paul

提交回复
热议问题