Skip to content

Fix Appearence Callbacks #8

Description

@dhandapani-d

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions