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

试了好多小伙伴方法,控制台一直爆这个 #371

Open
objcxiaobai opened this issue May 2, 2018 · 5 comments
Open

试了好多小伙伴方法,控制台一直爆这个 #371

objcxiaobai opened this issue May 2, 2018 · 5 comments

Comments

@objcxiaobai
Copy link

[LayoutConstraints] Changing the translatesAutoresizingMaskIntoConstraints property of the contentView of a UITableViewCell is not supported and will result in undefined behavior, as this property is managed by the owning UITableViewCell. Cell: <HomePageTableViewCell: 0x7f898b0be600; baseClass = UITableViewCell; frame = (0 0; 320 44); layer = <CALayer: 0x604000434780>>

@imWalsh
Copy link

imWalsh commented Jun 12, 2018

并不管用,而且报的警告更多了。。。

@cindyuan
Copy link

UITableView+FDTemplateLayoutCell.m文件中templateCell.contentView.translatesAutoresizingMaskIntoConstraints = NO;这句话加个版本判断,ios 11就不执行

@XiaoBaiClassmate
Copy link

@cindyuan 兄弟,试了你方法,好像不行呀

@NeighborWang
Copy link

我也是一直这样 崩

@miniLV
Copy link

miniLV commented Sep 20, 2018

日志输出以解决 - 查看=>https://github.com/miniLV/UITableView-FDTemplateLayoutCell

vi Podfile:
pod 'UITableView+FDTemplateLayoutCell', :git => 'https://github.com/miniLV/UITableView-FDTemplateLayoutCell'

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

6 participants