We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题: UITabBarController , UINavigationController, ITable,三者混用时,特别在二级UINavigationController POP时后,ITable中的Row会出现下移问题。
解决办法: 1、在ITable.m 中viewDidLoad中增加 self.automaticallyAdjustsScrollViewInsets = NO; //禁止自动调整。 2、在init 在ITable.m 中init中增加:
scrollFrame = CGRectMake(0, NAV_HEIGHT, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height-64-50);
在ITable.m 中layoutViews中自定义修改高度:
CGSize fsize = CGSizeMake(scrollFrame.size.width, scrollFrame.size.height ); if(!CGSizeEqualToSize(_scrollView.frame.size, fsize)){ log_debug(@"change size, w: %.1f=>%.1f, h: %.1f=>%.1f", _scrollView.frame.size.width, scrollFrame.size.width, _scrollView.frame.size.height, scrollFrame.size.height); CGRect frame = _scrollView.frame; frame.size = fsize; NSLog(@"%s,%d,%f",__func__,__LINE__,self.view.frame.size.height); _scrollView.frame = frame; _contentFrame.size.width = self.view.frame.size.width; }
The text was updated successfully, but these errors were encountered:
你好,如果能提供重现代码,并发一个 pull request,那将是最好的。
Sorry, something went wrong.
No branches or pull requests
问题:
UITabBarController , UINavigationController, ITable,三者混用时,特别在二级UINavigationController POP时后,ITable中的Row会出现下移问题。
解决办法:
1、在ITable.m 中viewDidLoad中增加 self.automaticallyAdjustsScrollViewInsets = NO; //禁止自动调整。
2、在init 在ITable.m 中init中增加:
在ITable.m 中layoutViews中自定义修改高度:
The text was updated successfully, but these errors were encountered: