【文件属性】:
文件名称:xib_layout_animation:XIB添加动画
文件大小:321KB
文件格式:ZIP
更新时间:2021-03-20 21:13:51
Objective-C
xib_layout_animation
XIB添加动画
- (void)viewDidLoad {
[super viewDidLoad];
[self updateLayout];
}
- (void)updateLayout {
if (_sender.isOn) {
_viewSpace.constant = 8;
_blueRightLayout.priority = UILayoutPriorityDefaultHigh + 1;
}else {
_viewSpace.constant = self.view.frame.size.width;
_blueRightLayout.priority = UILayoutPriorityDefaultHigh - 1;
【文件预览】:
xib_layout_animation-master
----.gitignore(1KB)
----README.md(781B)
----xibLayout()
--------xibLayoutUITests()
--------xibLayout()
--------xibLayout.xcodeproj()
--------xibLayoutTests()
--------.DS_Store(6KB)
----.DS_Store(6KB)