What's the best way of handling a UIPageControl that has so many dots they don't all fit on the screen

后端 未结 5 1269
夕颜
夕颜 2021-02-08 22:51

I have a UIPageControl in my application that looks perfectly fine with around 10 pages (dots), it\'s possible however for the user to add many different views, and so the numbe

5条回答
  •  忘了有多久
    2021-02-08 23:34

    I created an eBook application that used UIScrollView that contained a UIWebView. The book had over 100 pages so UIPageControl could not handle it because of the problem you pointed out. I ended up creating a custom "slider" type view that acted similar to UIPageControl but could handle the large number of pages. That's pretty much what you will need to do. UIPage control cannot handle as many pages as you want...

提交回复
热议问题