From e7d074da4800d9702ed149f11325587eda77a26e Mon Sep 17 00:00:00 2001 From: setipro Date: Tue, 15 Apr 2014 14:36:31 +0800 Subject: [PATCH] fix deprecated UITextAlignmentCenter --- src/FSVerticalTabBarButton.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FSVerticalTabBarButton.m b/src/FSVerticalTabBarButton.m index 7994329..d10a39e 100644 --- a/src/FSVerticalTabBarButton.m +++ b/src/FSVerticalTabBarButton.m @@ -30,7 +30,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus { self.textLabel.backgroundColor = [UIColor clearColor]; self.textLabel.textColor = [UIColor lightGrayColor]; - self.textLabel.textAlignment = UITextAlignmentCenter; + self.textLabel.textAlignment = NSTextAlignmentCenter; self.textLabel.font = [UIFont boldSystemFontOfSize:12.0]; } return self;