开发者

IOS SDK Ebook app

开发者 https://www.devze.com 2023-03-10 03:31 出处:网络
i want to开发者_如何转开发 make a EbookApp . The Book has 400 pages. I tried with UIScrollView + UIPageControl , but pagecontrol shows just peak 20 pages.

i want to开发者_如何转开发 make a EbookApp . The Book has 400 pages. I tried with UIScrollView + UIPageControl , but pagecontrol shows just peak 20 pages. I heard that it can be done with UILabel and three Views. How can i realize it?


You shouldn't load all the pages at time. You should automatically load only 10, for example.

Assume user opens 1st page. So you have to load 1-10 pages, when user is on 5th page you should load 11-15 pages, when user is on 10th page you have to unload 1-5 pages, etc.

Theoretically, it could be done with three views (pages).

Good luck

0

精彩评论

暂无评论...
验证码 换一张
取 消