DrawerController icon indicating copy to clipboard operation
DrawerController copied to clipboard

Fix top layout guide calculation for side controllers.

Open SofteqDG opened this issue 8 years ago • 1 comments

This PR fixes an issue with top layout guide or safe area.

First sample shows that safe area is ignored for left side controller (tableview's top is pinned to safe area): without_fix

Second sample shows the correct behavior (with 20px indent for status bar): with_fix

Here are the full demo project: TestDrawerController.zip I've left comments in Podfile to easily switch between my fork and latest released DrawerController pod.

SofteqDG avatar Nov 26 '17 16:11 SofteqDG

@sascha, MMDrawerController has the same issue and discussed at https://github.com/mutualmobile/MMDrawerController/issues/291.

SofteqDG avatar Nov 26 '17 17:11 SofteqDG