我有一个屏幕,我在本端视图上添加了 1 个滚动视图.标签栏和导航栏都在那里,iPhone 4 的视图高度为 455.我在滚动视图上添加了更多内容.滚动视图和自身视图的高度相同.但是当我无法为滚动视图设置内容大小时.即使我也设置了它也不起作用.请帮助我.谢谢
I have one screen where I have added 1 scroll view on self view. Tab bar and navigation bar both are there and for iPhone 4 view height is 455.I have added more content on scroll view.the height of scroll view and self view is same.but when i am unable to set content size for scroll view.even i set too it is not working.Please help me. Thanks
下面是如何在 Auto Layout 中设置 contentView 的大小:
Here is how to set up the size of the contentView in Auto Layout:
这篇关于如何使用自动布局设置滚动视图内容大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!