How to implement VERTICAL pagecontrol on iPad / iPhone

I am aware of the procedure for implementing horizontal page control. But I’m very interested to know if we can implement page management VERTICALLY . For example, if the user intercepts, he goes to the second page, and then the second point of pagecontrol is highlighted. (Remember - in this case, page control is vertical)

+3
source share
3 answers

Wouldn’t it pageControl.transform = CGAffineTransformMakeRotation(M_PI_2);?

+12
source

If you are referencing a UIPageControl element, you will have to create it yourself, since none exist (can exist as a small library on github, though)

( , ), UIScrollView pagingEnabled, YES.

+1

one method is to rotate to scroll 90 °, rotate the contents -90 °, should create a convenient way to convert the frame from one corner to another

0
source

All Articles