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;