Skip to content

Issues with Navigation Controller #7

@albertobitto

Description

@albertobitto

Hi, I'm experiencing some weird behaviour when DFDatePickerViewController is embedded in a Navigation Controller: the date picker view doesn't always scroll to current date when appearing.

After some research, I came to the conclusion that it depends on how the view controller is configured on storyboard/interface builder.
Mostly, I played with two flags that seem to change the behaviour of your component: "Resize view from NIB" (Layout) and "Under Top Bars" (Extend Edges).

The weird thing is that with the same configuration, the view controller may behave differently on 3.5" and 4" devices (either physical or simulated).

This is what I found:

  • on 4" devices, the scrolling always works, except when only "Resize view from NIB" is checked;
  • on 3.5" devices, the scrolling works only when both flags are checked.

Thank you

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