Skip to content
9miao Mobile Game edited this page Aug 14, 2014 · 1 revision

CAPageViewDelegate Detailed Description

Class Description

CAPageView’s scrolling event delegate

Method

Access modifier

Method name

Description

public

pageViewDidBeginTurning

trigger when scrolling starts

public

pageViewDidEndTurning

trigger when scrolling ends

public

pageViewDidSelectPageAtIndex

trigger when clicking pageView

 

Method Description

virtual void pageViewDidBeginTurning(CAPageView pageView)*
Return value: void
Parameter:

Type

Parameter name

Description

CAPageView*

pageView

current pageView

virtual void pageViewDidEndTurning(CAPageView pageView)*
Return value: void
Parameter:

Type

Parameter name

Description

CAPageView*

pageView

current pageView

virtual void pageViewDidSelectPageAtIndex(CAPageView pageView, unsigned int index)*
Return value: void
Parameter:

Type

Parameter name

Description

CAPageView*

pageView

current pageView

unsigned int

section

clicked pages

Clone this wiki locally