UIPageControl key to scroll?

What method do I use to update my UIScrollView when connecting the sides of the UIPageControl? When scrolling, the UIScrollView UIPageControl updates correctly, but if I touch the sides of the UIPageControl to go to the next page, only the points will refresh, but the UIScrollView will not scroll. I looked through the docs and can't find any methods for this?

If you are not sure what I mean, go to your iPhone screen and tap on either side of the white dots, directly between the dock and the laid out icons.

+3
source share
3 answers

, , Value Value. , , ; currentPage . .

+7

, , :

UIScrollView scrollRectToVisible: animated:

UIPageControl valueChanged, .

+1

See my answer here: Is UIPageControl itself useless?

for a reusable class encapsulating UIPageControl and UIScrollView.

+1
source

Source: https://habr.com/ru/post/1725651/


All Articles