Skip to content

控制台报错误,我搜了一下, 是设置translatesAutoresizingMaskIntoConstraints = false才会出现的 #51

@xiaoyao20084321

Description

@xiaoyao20084321

控制台报以下错误,我搜了一下, 是设置translatesAutoresizingMaskIntoConstraints = false才会出现的。

Changing the translatesAutoresizingMaskIntoConstraints property of a UICollectionReusableView that is managed by a UICollectionView is not supported, and will result in incorrect self-sizing. View: <ZLCollectionReusableView: 0x1077e9d40; baseClass = UICollectionReusableView; frame = (0 0; 557.143 121); layer = <CALayer: 0x282a6e680>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions