UIScrollView enable paging after screen width goes wider

。_饼干妹妹 提交于 2019-12-24 11:36:16

问题


Here is a screenshot for a ipad application below:

This application contains a UIScrollView with several pages. Starting 3 screens, paging is enabled. Then a wider screen Screen 4 comes (There are few more pages after screen4 and before screen5 with varying width in the app.) and paging is disable there. Now i want to again start paging with the start of Screen 5. Everything works well if Screen 4 is also of width 1024 but if it is wider then enabling paging shows screen 4 and screen 5 partially.

Is it possible to enable paging from a perticular x coordinate onwards? I already have every coordinate info and for screen 4's x coordinate is there a way to start paging from there?

Or is there a way to do not disable paging but increase page size for Screen 4?

来源:https://stackoverflow.com/questions/14500087/uiscrollview-enable-paging-after-screen-width-goes-wider

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