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
关于iOS11 上下拉刷新无法返回的问题,不关MJRefresh的事,解答 #956
Comments
Very good!👍 |
swift中添加改行代码 |
这样改的话,导航栏就要挡住tableview了。而设置contentInset的话,虽然可以解决遮挡问题,但是iPhone X的导航栏高度又不一样,又要根据机型来设置不同的contenInset,感觉不是很合理。 |
iPhoneX 就是苹果告诉我们状态栏和tabbar高度不要写死,要动态获取 |
那是不是不能设置tableView为self.view.bounds |
可以,但是contentInset要设置正确 |
@Rogue24 谢谢你的热心。 |
绝对要保重身体啊mj哥!你可是我偶像呀
…________________________________
发件人: M了个J <notifications@github.com>
发送时间: 2017年9月27日 9:53:31
收件人: CoderMJLee/MJRefresh
抄送: JianPingZhou; Mention
主题: Re: [CoderMJLee/MJRefresh] 关于iOS11 上下拉刷新无法返回的问题,不关MJRefresh的事,解答 (#956)
@Rogue24<https://github.com/rogue24> 谢谢你的热心。
我也尝试让MJRefresh兼容iOS11了,大家可以试试版本3.1.13。近几个月身体抱恙,所以未及时更新,Sorry
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#956 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMhP8eZ8ryEfOn28H3YGM2dQHGrKFy9Lks5smhsagaJpZM4PdQfE>.
|
iOS11弃用了automaticallyAdjustsScrollViewInsets属性,新增contentInsetAdjustmentBehavior来替代它,不想系统帮我们自动设置边距则要在iOS11中加上这句 scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
The text was updated successfully, but these errors were encountered: