【发布时间】:2018-01-24 05:18:27
【问题描述】:
集合视图在 iOS 10.3.3 中向上移动。但在 iOS 11.0 中工作正常。 谁能告诉我如何解决这种与版本有关的问题
UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
MSProductCategoryViewController
*msProductCategoryViewController = [storyBoard instantiateViewControllerWithIdentifier:@"MSProductCategoryViewController"];
msProductCategoryViewController.title =titleName;
[self.navigationController pushViewController:msProductCategoryViewController animated:YES];
【问题讨论】:
-
你检查过约束吗?应该不是ios版本问题
-
我的约束很好!
-
显示您的收藏视图约束。
-
我不这么认为。请提供collectionview约束
-
我更新了!请检查约束
标签: ios objective-c uicollectionview storyboard