Skip to content

Rotation issue. Happens starting from 2.0+. Reproducible on iOS 8&9 #33

@Austinate

Description

@Austinate

Hi :) unfortunately, i've faced small issue with your awesome library.

If MZFormSheetPresentationController is presenting any controller (in my case it's alert view), than origin of it's content view is calculated wrong during transition to another size/size class.

Steps:

  1. Launch sample project.
  2. Present popover
  3. Present alert
  4. Rotate to landscape (or you can present in landscape and rotate to portrait)
  5. Observer results

I see this results since MZFormSheet started to use UIPresentationController API. So here comes the question: is that me doing something wrong or we have a bug?

Thanks for help! Ping me if you will need additional info.

Sample code can be found here in master branch: https://github.com/Austinate/MZFormSheetIssueSample

Normal result:
simulator screen shot 28 2015 11 45 43

Buggy result:
simulator screen shot 28 2015 11 45 36

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