How to resize storyboard? ios

坚强是说给别人听的谎言 提交于 2019-12-07 13:41:28

tables dont scroll on storyboards or in the .xib files ,u just have to set the scrolling to yes and then u see it scrolling in simulator or devices

This problem is very common in UIScrollView when Scroll content increase view Size.

There is no inbuilt solution like increase size of ViewController.

But we can have intermediate solution which can help us. Do following.

  1. Increase size of UIScrollView or UITableView such that it cover all content. something like 1000 or 1500.

  2. set Y to some minus value (like -100 or -300) so your control goes upside and you can see content at down side.

You have to set your Y according to which content you want to see.

Don't forget to change height back to original value after you finish work.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!