From 4f6056df15e21697242f7fda429a74d21ab0bcc7 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 7 Oct 2010 12:59:36 -0700 Subject: [PATCH] Use -[UIColor groupTableViewBackgroundColor] instead of -[UIColor pinStripeColor]. --- UICaboodle/BrowserView.mm | 6 +++--- iPhonePrivate.h | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index ff397637..e2dee3b5 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -1161,7 +1161,7 @@ static Class $UIWebBrowserView; UIColor *uic(nil); if (red == 0xc7 && green == 0xce && blue == 0xd5) - uic = [UIColor pinStripeColor]; + uic = [UIColor groupTableViewBackgroundColor]; else if (alpha != 0) uic = [UIColor colorWithRed:(red / 255) @@ -1178,7 +1178,7 @@ static Class $UIWebBrowserView; } if (!colored) - [scroller_ setBackgroundColor:[UIColor pinStripeColor]]; + [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; break; } } @@ -1355,7 +1355,7 @@ static Class $UIWebBrowserView; [[self view] addSubview:scroller_]; [scroller_ setFixedBackgroundPattern:YES]; - [scroller_ setBackgroundColor:[UIColor pinStripeColor]]; + [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]]; [scroller_ setScrollingEnabled:YES]; [scroller_ setClipsSubviews:YES]; diff --git a/iPhonePrivate.h b/iPhonePrivate.h index f9f03a48..de959c9e 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -89,10 +89,6 @@ typedef enum { - (UIView *) view; @end -@interface UIColor (Apple) -+ (UIColor *) pinStripeColor; -@end - @interface UIControl (Apple) - (void) addTarget:(id)target action:(SEL)action forEvents:(NSInteger)events; @end -- 2.45.2