youngsoft / MyLinearLayout

MyLayout is a powerful iOS UI framework implemented by Objective-C. It integrates the functions with Android Layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,PathLayout,GridLayout,LayoutSizeClass to build your App 自动布局 UIView UITableView UICollectionView RTL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

kchtin opened this issue · comments

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