"ALView+PureLayout.h"
2017-02-23 11:40 supper_Ho 阅读(315) 评论(0) 编辑 收藏 举报 [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];