2016-01-14 9 views

ответ

0

переопределение метод updateConstraint внутри ViewController

override func updateConstraints() { 
    //do something here with the constraint 
    self.yourconstraint.constant = ? 

    //or you can inactive a constraint 
    NSLayoutConstraint.activateConstraints([yourConstraint]) 

    //then you can put logic here : where your screen size 320 
    if (Screen.size.width == 320) { 
     //update your constraint 
    } 
    super.updateContraint() 
} 
+0

Спасибо Деннис, Id любят нон программное решение, как я дизайнер. Я передам это команде разработчиков. –

+0

вы также можете изменить приоритет автомаркета, но он должен быть немного сложным, –