mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-20 15:02:08 +00:00
Added Title Label (AppIconOptionsController.m)
Basically a recreation of how the Title in Settings was like in the App but with using only a UIViewController.
This commit is contained in:
parent
2a55a368d4
commit
77590e541d
1 changed files with 8 additions and 1 deletions
|
|
@ -15,7 +15,14 @@
|
|||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
|
||||
UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectZero];
|
||||
titleLabel.text = @"Change App Icon";
|
||||
titleLabel.font = [UIFont fontWithName:@"YTSans-Bold" size:17];
|
||||
titleLabel.textColor = [UIColor whiteColor];
|
||||
[titleLabel sizeToFit];
|
||||
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:titleLabel];
|
||||
|
||||
self.selectedIconIndex = 0;
|
||||
|
||||
self.tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
|
||||
|
|
|
|||
Loading…
Reference in a new issue