mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-14 09:10:25 +00:00
Added bundle? (AppIconOptionsController.m)
This commit is contained in:
parent
1ab798f1eb
commit
1bfa0a1bbc
1 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,8 @@
|
|||
[self.view addSubview:self.tableView];
|
||||
|
||||
self.backButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
UIImage *backImage = [UIImage imageNamed:@"Back.png" inBundle:[[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"] compatibleWithTraitCollection:nil];
|
||||
NSBundle *bundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"]];
|
||||
UIImage *backImage = [UIImage imageNamed:@"Back.png" inBundle:bundle compatibleWithTraitCollection:nil];
|
||||
[self.backButton setImage:backImage forState:UIControlStateNormal];
|
||||
[self.backButton addTarget:self action:@selector(back) forControlEvents:UIControlEventTouchUpInside];
|
||||
[self.backButton setFrame:CGRectMake(0, 0, 24, 24)];
|
||||
|
|
|
|||
Loading…
Reference in a new issue