Autolayout with Scrollview in Xamarin

六眼飞鱼酱① 提交于 2019-12-12 02:43:05

问题


It's driving nuts...

I am using storyboard....but if it this can be done programmatically, I would change immediately

  • I have a scroll view set to fill parents view (x and y)
  • I add the scroll pin spacing handlers to the borders of the view (in all four of them)
  • I add a button near the bottom with the constrains

When rotation occurs I'm unable to see my button.

I haven't found any example on how to correctly use scrollviews in xamarin, if anyone knows any example would be appreciated, I'm new with xamarin. Thanks!

UPDATE: IOS-CLASSIC


回答1:


Works with the following constraints

Also you can check UIScrollView Scrollable Content Size Ambiguity



来源:https://stackoverflow.com/questions/40183459/autolayout-with-scrollview-in-xamarin

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