kitasuke / PagingMenuController

Paging view controller with customizable menu in Swift
MIT License
2.5k stars 449 forks source link

Bounds ViewController #261

Open alecsechechel opened 8 years ago

alecsechechel commented 8 years ago

I have this problem screen shot 2016-08-02 at 12 57 43

Have you any idea how can I fix it?

alecsechechel commented 8 years ago

When I swipe to me and came back it is work well

kitasuke commented 7 years ago

Are you using Storyboard or Nib for the view with AutoLayout?

grahammccarthy commented 7 years ago

I have the same issue as shown above. I am using a Storyboards for my views.

alecsechechel commented 7 years ago

I am using a Storyboard! Have you any idea how can I fix it?

kitasuke commented 7 years ago

Might be an AutoLayout issue. Can you run example project and see same issue?

japhethkosgei commented 7 years ago

I have same issue too but only with segmented type. when i switch to standard all works ok.

kitasuke commented 7 years ago

Thanks for specifying the type. Will look into code.

markoengelman commented 7 years ago

I have the same problem. Any news on this?

japhethkosgei commented 7 years ago

@RitNaBegu , have you tried using autolayout to bind pagemenucontroller's view to its superview? If you don't want to use autolayout you could also set the frame of pagemenucontroller's view to that of its superview... example of second option would be something like:

myPageMenuController.view.frame = self.someParentView.bounds;

thanhluan10t2 commented 7 years ago

I have same issue too. Did anyone find solution to fix it ?