mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-06-01 12:16:07 -06:00
Replace deprecated UITextAlignmentCenter with NSTextAlignmentCenter
This commit is contained in:
parent
324a5bc3fb
commit
738f47bb22
@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
titleLabel_ = [[UILabel alloc] initWithFrame:CGRectZero];
|
titleLabel_ = [[UILabel alloc] initWithFrame:CGRectZero];
|
||||||
titleLabel_.font = [UIFont boldSystemFontOfSize:18];
|
titleLabel_.font = [UIFont boldSystemFontOfSize:18];
|
||||||
titleLabel_.textAlignment = UITextAlignmentCenter;
|
titleLabel_.textAlignment = NSTextAlignmentCenter;
|
||||||
titleLabel_.textColor = [UIColor whiteColor];
|
titleLabel_.textColor = [UIColor whiteColor];
|
||||||
titleLabel_.backgroundColor = [UIColor clearColor];
|
titleLabel_.backgroundColor = [UIColor clearColor];
|
||||||
titleLabel_.shadowColor = [UIColor darkGrayColor];
|
titleLabel_.shadowColor = [UIColor darkGrayColor];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user