MNPageViewController icon indicating copy to clipboard operation
MNPageViewController copied to clipboard

Fix Appearence Callbacks

Open dhandapani-d opened this issue 11 years ago • 0 comments

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

dhandapani-d avatar Oct 27 '14 10:10 dhandapani-d