github地址:FDTemplateLayoutCell我使用的是自动布局框架 Masonry添加UI1.每个父类UI控件4边都要约束,换行label也一样2.一定要添加到cell.contentView上