Skip to content
This repository
Browse code

Updated depracted method UITextAlignmentCenter to NSTextAlignmentCent…

…er for iOS6
  • Loading branch information...
commit f42784b1a4539c8defc910b21f6d39fc902c2525 1 parent d4fbb7d
Jay Chae wayfare authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  Classes/PullRefreshTableViewController.m
2  Classes/PullRefreshTableViewController.m
@@ -79,7 +79,7 @@ - (void)addPullToRefreshHeader {
79 79 refreshLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 320, REFRESH_HEADER_HEIGHT)];
80 80 refreshLabel.backgroundColor = [UIColor clearColor];
81 81 refreshLabel.font = [UIFont boldSystemFontOfSize:12.0];
82   - refreshLabel.textAlignment = UITextAlignmentCenter;
  82 + refreshLabel.textAlignment = NSTextAlignmentCenter;
83 83
84 84 refreshArrow = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"arrow.png"]];
85 85 refreshArrow.frame = CGRectMake(floorf((REFRESH_HEADER_HEIGHT - 27) / 2),

0 comments on commit f42784b

Please sign in to comment.
Something went wrong with that request. Please try again.