Re: positioning two UILabels with auto layout problem
Re: positioning two UILabels with auto layout problem
- Subject: Re: positioning two UILabels with auto layout problem
- From: Koen van der Drift <email@hidden>
- Date: Wed, 19 Jun 2013 18:19:55 -0400
On Jun 19, 2013, at 5:41 PM, Koen van der Drift <email@hidden> wrote:
> NSLayoutConstraint *distance =
> [NSLayoutConstraint constraintWithItem: self.secondLabel
> attribute: NSLayoutAttributeTop
> relatedBy: NSLayoutRelationEqual
> toItem: self.firstLabel
> attribute: NSLayoutAttributeBottom
> multiplier: 0.0f
> constant: 16.0f];
Found the problem, multiplier should have a value of 1.0f.
- Koen.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden