-
Notifications
You must be signed in to change notification settings - Fork 83
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
Layout Error in iOS 11 #43
Comments
Same issue |
Now, I try to renew MKDropdownMenu to fix this error. |
@vvard3n @EvsenevDev hi guys, sorry for the delay, looks like this issue has been fixed by #38 but not yet pushed to cocoapods. Please let me know if the latest |
nope. imperfect MKDropdownMenu *dropdownMenu = [[MKDropdownMenu alloc] initWithFrame:CGRectMake(0, 0, 150, 44)];
self.dropdownMenu = dropdownMenu;
dropdownMenu.dataSource = self;
dropdownMenu.delegate = self;
dropdownMenu.backgroundDimmingOpacity = 0;
UIImage *indicator = [UIImage imageNamed:@"triangle_14x14"];
dropdownMenu.disclosureIndicatorImage = indicator;
UIImageView *spacer = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"triangle"]];
spacer.contentMode = UIViewContentModeCenter;
dropdownMenu.spacerView = spacer;
dropdownMenu.rowTextAlignment = NSTextAlignmentCenter;
dropdownMenu.dropdownShowsTopRowSeparator = NO;
dropdownMenu.dropdownBouncesScroll = NO;
dropdownMenu.dropdownRoundedCorners = UIRectCornerAllCorners;
dropdownMenu.useFullScreenWidth = YES;
dropdownMenu.fullScreenInsetLeft = 100;
dropdownMenu.fullScreenInsetRight = 100;
self.navigationItem.titleView = dropdownMenu; |
my pull request can fix this question. |
set a MKDropdownMenu in VC1 NavigationBar TitileView,
than nav push to VC2,
than back to VC1.
you can see that MKDropdownMenu layout error.
in your Demo project, MKDropdownMenu is lose, can't find it
The text was updated successfully, but these errors were encountered: