PagingMenuController icon indicating copy to clipboard operation
PagingMenuController copied to clipboard

Nasty space between navbar and paginMenu

Open elchris78 opened this issue 7 years ago • 3 comments

Hey there guys,

I just implemented this awesome project into of project of mine. Everything works ok, but I'm having some problem with getting rid of some nasty space between Navigation Bar and PagingMenu Bar. I want them to be together (no padding between them) but I haven't found the solution yet. It is that yellow space in the image below. The yellow is because I changed the root view's background to yellow so it can be notorious. screen shot 2017-05-24 at 6 48 01 pm

Any help on this one guys please? Thank you in advance...

elchris78 avatar May 24 '17 23:05 elchris78

Found the solution. It's not a bug, it's a configuration matter (or creation of the child view of the root view). You've gotta set to + - 0 the y and height properties of the pagingMenuController screen shot 2017-05-26 at 4 18 42 pm

Just to let you know...

elchris78 avatar May 26 '17 21:05 elchris78

I think "You should add ContainerView into your view controller's view and set PagingMenuController as the embedded view controller's class" should be the correct solution. You should drag one Container View to your UIViewContolller, then add your pagemenu controller to the container view. containerView.addSubview(pagingMenuController.view) The containerView is you drag in form IB.

kevinlee85 avatar Jun 02 '17 08:06 kevinlee85

Thanks @elchris78 ! You saved my day.

PhilippeBoisney avatar Aug 28 '17 06:08 PhilippeBoisney