ios - Change collection view constraints programmatically -
i have create collection view in storyboard , add constraints. need change collection view constraint specific condition , want programmatically in class. have iboutlet collection view. parameter needs changed?
- add constraints in collection view
- select constraint want modify, hold control , drag class
- when want constraint changed, type
nameofyourconstraint.constant = 100 // int
Comments
Post a Comment