Skip to content

Commit

Permalink
Fixing issue Grouper#186. Fix blank title and message.
Browse files Browse the repository at this point in the history
  • Loading branch information
somedev committed Jun 6, 2015
1 parent ec0f14d commit fd5cbca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Classes/ios/FUIAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,16 @@ - (void) layoutSubviews {
}
}

- (void)setTitle:(NSString *)title {
_title = title;
self.titleLabel.text = title;
}

- (void)setMessage:(NSString *)message {
_message = message;
self.messageLabel.text = message;
}

- (void)setButton:(UIButton *)button atHeight:(CGFloat)height {
CGRect buttonFrame = button.frame;
buttonFrame.origin = CGPointMake(0, height);
Expand Down

0 comments on commit fd5cbca

Please sign in to comment.