Skip to content

How to use UILayoutGuide with Masonry? #486

Description

@GR-harry

I find Snapkit can use like this:

 let guide = UILayoutGuide()
someView.addLayoutGuide(guide)

guide.snp.makeConstraints { make in
    make.width.equalToSuperview()
    make.height.equalTo(100)
    make.top.equalToSuperview()
} 

Is it possible to set constraints on a UILayoutGuide using Masonry?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions