March 2014
Intermediate to advanced
672 pages
40h 11m
English
The UIPageControl class provides a line of dots that indicates which item of a multipage view is currently displayed. The dots at the bottom of the SpringBoard home screen present an example of this kind of control in action. Sadly, the UIPageControl class is a disappointment in action. Its instances are awkward to handle, hard to tap, and will generally annoy your users. So when using it, make sure you add alternative navigation options so that the page control acts more as an indicator and less as a control.
Figure 2-9 shows a page control with three pages. Taps to the left or right of the bright-colored current page indicator trigger UIControlEventValueChanged events, launching whatever method you set as the ...
Read now
Unlock full access