재수노강 2021. 10. 16. 18:00
728x90

Page Control

아래 그림과 같이 여러 페이지 중에서 현재 페이지를 알려줍니다.

출처 - https://developer.apple.com/design/human-interface-guidelines/ios/images/page-control-few_2x.png

Page Control 조작할 수 있는 속성값

numberOfPages - 페이지 컨트롤의 전체 페이지 수를 의미합니다.

currentPage - 현재 페이지를 의미합니다.

pageIndicatorTintColor - 페이지를 표시하는 부분의 색상을 의미합니다.

currentPageIndicatorTintColor - 페이지 컨트롤에서 현재 페이지의 색상을 의미합니다.