Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Appearence Callbacks #8

Open
dhandapani-d opened this issue Oct 27, 2014 · 0 comments
Open

Fix Appearence Callbacks #8

dhandapani-d opened this issue Oct 27, 2014 · 0 comments

Comments

@dhandapani-d
Copy link

MNPageViewController should forward the appearence call backs to the child controllers properly, which is not happening.

For Example, in the example project,

When page 1 is scrolled from page 0,
only the following appearence methods are getting called.
2014-10-27 16:09:44.896 MNPageExample[24579:1406430] viewWillAppear: 2 UIDeviceRGBColorSpace 1 0.5 0 1
2014-10-27 16:09:44.904 MNPageExample[24579:1406430] viewDidAppear: 2 UIDeviceRGBColorSpace 1 0.5 0 1

when page 2 is scrolled from page 1.
2014-10-27 16:09:50.355 MNPageExample[24579:1406430] viewWillDisappear: 0 UIDeviceRGBColorSpace 0 1 0 1
2014-10-27 16:09:50.356 MNPageExample[24579:1406430] viewWillAppear: 3 UIDeviceRGBColorSpace 0.5 0 0.5 1
2014-10-27 16:09:50.363 MNPageExample[24579:1406430] viewWillDisappear: 0 UIDeviceRGBColorSpace 0 1 0 1
2014-10-27 16:09:50.363 MNPageExample[24579:1406430] viewDidAppear: 3 UIDeviceRGBColorSpace 0.5 0 0.5 1

when last page (3) is scrolled.
2014-10-27 16:09:54.143 MNPageExample[24579:1406430] viewWillDisappear: 1 UIDeviceRGBColorSpace 0 0 1 1
2014-10-27 16:09:54.144 MNPageExample[24579:1406430] viewWillDisappear: 1 UIDeviceRGBColorSpace 0 0 1 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant