Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra White Space on Bottom of MX_pages #222

Closed
tadeha opened this issue Sep 30, 2018 · 2 comments
Closed

Extra White Space on Bottom of MX_pages #222

tadeha opened this issue Sep 30, 2018 · 2 comments

Comments

@tadeha
Copy link

tadeha commented Sep 30, 2018

Hello, I'm using container view to embed an MXSegmentedPagerViewController, everything is ok with view controllers connected to the pager but when I embed navigation controller to view controllers (pages) it causes an extra white space on the bottom of VC. It solved when I added a negative bottom space to views in view controller but I'm sure there should be an easier and better way to solve this problem! Looking forward to hear from you ;)

@YuanJiaShuai
Copy link

Hello, I also had this problem at that time. I solved the problem by adjusting the following properties. I hope it is useful for you.

@property(nonatomic,assign) UIRectEdge edgesForExtendedLayout;
@property(nonatomic,assign) BOOL extendedLayoutIncludesOpaqueBars;
@property(nonatomic,assign) BOOL automaticallyAdjustsScrollViewInsets;

@tadeha
Copy link
Author

tadeha commented Oct 1, 2018

Thank you! @YuanJiaShuai

@tadeha tadeha closed this as completed Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants