diff --git a/Popping/ButtonViewController.m b/Popping/ButtonViewController.m index e506848..e46c987 100644 --- a/Popping/ButtonViewController.m +++ b/Popping/ButtonViewController.m @@ -88,9 +88,9 @@ - (void)addLabel relatedBy:NSLayoutRelationEqual toItem:self.button attribute:NSLayoutAttributeCenterY multiplier:1 - constant:0]]; + constant:self.button.intrinsicContentSize.height]]; - self.errorLabel.layer.transform = CATransform3DMakeScale(0.5f, 0.5f, 1.f); + self.errorLabel.layer.opacity = 0.0; } - (void)addActivityIndicatorView