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:
arichornlover 2024-04-15 22:03:11 -05:00 committed by GitHub
parent 2a55a368d4
commit 77590e541d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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];