You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ * ] I have looked at the Documentation
[ * ] I have read the F.A.Q.
[ * ] I have filled out this issue template.
Issue Info
Info
Value
Platform
ios
Platform Version
9.2
SnapKit Version
4.0.0
Integration Method
cocoapods
Issue Description
I am trying make my frame of image auto change its size with "multipliedBy". frameImageContainer.snp.makeConstraints({(make) in make.width.equalTo(295).multipliedBy(0.2) make.height.equalTo(355).multipliedBy(0.2) print("ratio", ratio) make.top.equalToSuperview().offset(self.view.frame.height/8) make.centerX.equalToSuperview(); })
But it not working like expected. It keep their size (295x355). Can anyone figure out what i am wrong ?
The text was updated successfully, but these errors were encountered:
[ * ] I have looked at the Documentation
[ * ] I have read the F.A.Q.
[ * ] I have filled out this issue template.
Issue Info
Issue Description
I am trying make my frame of image auto change its size with "multipliedBy".
frameImageContainer.snp.makeConstraints({(make) in make.width.equalTo(295).multipliedBy(0.2) make.height.equalTo(355).multipliedBy(0.2) print("ratio", ratio) make.top.equalToSuperview().offset(self.view.frame.height/8) make.centerX.equalToSuperview(); })
But it not working like expected. It keep their size (295x355). Can anyone figure out what i am wrong ?
The text was updated successfully, but these errors were encountered: