Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Fixes container view layout propagation issue #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

loicgardiol
Copy link

I was not able to tell in which exact situation this bug appear, but sometimes, the controller's view of the PKRevealControllerContainerView is not resizing correctly. In my case, in appear while using a UISplitViewController (see screenshots).

iPad landscape
iPad portrait

It seems that the layoutSubviews of PKRevealControllerContainerView should set the controller's view frame to its own bounds instead of the ones of the view. Doing so solves the issue.

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

Successfully merging this pull request may close these issues.

1 participant