From 7bf6294385094badcf5276ebb49e5c63380e46e0 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Mon, 29 Apr 2024 20:34:03 -0500 Subject: [PATCH] Update AppIconOptionsController.h --- Sources/AppIconOptionsController.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Sources/AppIconOptionsController.h b/Sources/AppIconOptionsController.h index 7272db7..ef845d7 100644 --- a/Sources/AppIconOptionsController.h +++ b/Sources/AppIconOptionsController.h @@ -2,4 +2,21 @@ @interface AppIconOptionsController : UIViewController +@property (strong, nonatomic) UIButton *backButton; + +@end + +@interface UIImage (CustomImages) + ++ (UIImage *)customBackButtonImage; + +@end + +@implementation UIImage (CustomImages) + ++ (UIImage *)customBackButtonImage { + NSBundle *bundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"]]; + return [UIImage imageNamed:@"Back.png" inBundle:bundle compatibleWithTraitCollection:nil]; +} + @end