Skip to content

希望MyRelativeLayout添加对子视图未设置布局时的 frame 的支持 #148

Description

@kchtin

UIButton *view = [UIButton.alloc initWithFrame:(CGRectMake(20, 100, 60, 40))];
view.backgroundColor = UIColor.orangeColor;
[MyRelativeLayout.view addSubview:view];

目前view的显示 frame 为 (0, 0, 60, 40)

期望view 的显示 frame 为 (20, 100, 60, 40)

5EDBB9537212CC93C4AFA9E85FBCE6F9

4439E273F9BFDF37F3481E01480DD1FC

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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