Skip to content

I set the height of vcB's view in vcA, but the result is incorrect. #819

Description

@Purool

New Issue Checklist

🚫 If this template is not filled out your issue will be closed with no comment. 🚫

  • I have looked at the Documentation
  • I have read the F.A.Q.
  • I have filled out this issue template.

Issue Info

Info Value
Platform ios
Platform Version 17.5 simulator
SnapKit Version 5.7.1
Integration Method cocoapods

code writed in viewDidLoad() as follow, I set height specifically, but i get the view which height is 240.667.
playerVC.view.snp.makeConstraints { make in
make.top.equalToSuperview().offset(47)
make.left.right.equalToSuperview()
make.height.equalTo(240.75)
}
playerVC is a UIViewController already added to currentVC,
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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