13
আমি কি এনএসএলআউটকন্ট্রাইন্টের জন্য গুণক সম্পত্তি পরিবর্তন করতে পারি?
আমি একটি তত্ত্বাবধানে দুটি মতামত তৈরি করেছি এবং তারপরে দর্শনের মধ্যে সীমাবদ্ধতা যুক্ত করেছি: _indicatorConstrainWidth = [NSLayoutConstraint constraintWithItem:self.view1 attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationEqual toItem:self.view2 attribute:NSLayoutAttributeWidth multiplier:1.0f constant:0.0f]; [_indicatorConstrainWidth setPriority:UILayoutPriorityDefaultLow]; _indicatorConstrainHeight = [NSLayoutConstraint constraintWithItem:self.view1 attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:self.view2 attribute:NSLayoutAttributeHeight multiplier:1.0f constant:0.0f]; [_indicatorConstrainHeight setPriority:UILayoutPriorityDefaultLow]; [self addConstraint:_indicatorConstrainWidth]; [self addConstraint:_indicatorConstrainHeight]; এখন আমি অ্যানিমেশন দিয়ে গুণক সম্পত্তি পরিবর্তন করতে …