当前位置: 首页 > 工具软件 > PureLayout > 使用案例 >

"ALView+PureLayout.h"

岳宣
2023-12-01

    [self.view addSubview:self.tabView];
    [self.tabView autoPinEdgeToSuperviewEdge:ALEdgeTop withInset:64];
    [self.tabView autoPinEdgeToSuperviewEdge:ALEdgeRight];
    [self.tabView autoPinEdgeToSuperviewEdge:ALEdgeLeft];
    [self.tabView autoSetDimension:ALDimensionHeight toSize:40];
    
    [self.view addSubview:self.pageController.view];
    [self.pageController.view autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:self.tabView withOffset:0];
    [self.pageController.view autoPinEdgeToSuperviewEdge:ALEdgeBottom];
    [self.pageController.view autoPinEdgeToSuperviewEdge:ALEdgeLeft];
    [self.pageController.view autoPinEdgeToSuperviewEdge:ALEdgeRight];
   

转载于:https://www.cnblogs.com/supper-Ho/p/6432755.html

 类似资料:

相关阅读

相关文章

相关问答