NSLayoutConstraint的簡單應用

UIView *topView = [[UIView alloc] init]; topView.backgroundColor = [UIColor redColor]; [self.view addSubview:topView]; topView.translatesAutoresizingMaskIntoConstraints = NO; [self.vi
相關文章
相關標籤/搜索