Skip to content

Commit

Permalink
Merge pull request #65 from adamwulf/UITextAlignmentCenter
Browse files Browse the repository at this point in the history
Fixed UITextAlignmentCenter vs NSTextAlignmentCenter deprecation in iOS6
  • Loading branch information
shnhrrsn committed Nov 1, 2013
2 parents 743679f + c470601 commit 01d7ff2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ - (id)initWithFrame:(CGRect)frame arrowImageName:(NSString *)arrow textColor:(UI
label.shadowColor = [UIColor colorWithWhite:0.9f alpha:1.0f];
label.shadowOffset = CGSizeMake(0.0f, 1.0f);
label.backgroundColor = [UIColor clearColor];
label.textAlignment = UITextAlignmentCenter;
label.textAlignment = NSTextAlignmentCenter;
[self addSubview:label];
_lastUpdatedLabel=label;
[label release];
Expand All @@ -65,7 +65,7 @@ - (id)initWithFrame:(CGRect)frame arrowImageName:(NSString *)arrow textColor:(UI
label.shadowColor = [UIColor colorWithWhite:0.9f alpha:1.0f];
label.shadowOffset = CGSizeMake(0.0f, 1.0f);
label.backgroundColor = [UIColor clearColor];
label.textAlignment = UITextAlignmentCenter;
label.textAlignment = NSTextAlignmentCenter;
[self addSubview:label];
_statusLabel=label;
[label release];
Expand Down

0 comments on commit 01d7ff2

Please sign in to comment.