From 635c55b402a982da61aff1349226de922807800d Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 5 Nov 2010 09:33:14 -0700 Subject: [PATCH] Downgrade support for -[UIWebView setDataDetectorTypes]. --- iPhonePrivate.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iPhonePrivate.h b/iPhonePrivate.h index 1c198581..5d65970b 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -99,8 +99,6 @@ typedef enum { - (void) setAllowsMessaging:(BOOL)allows; - (void) setAutoresizes:(BOOL)autoresizes; - (void) setContentsPosition:(NSInteger)position; -- (void) setDataDetectorTypes:(NSUInteger)types; -- (void) setDetectsPhoneNumbers:(BOOL)detects; - (void) setDrawsBackground:(BOOL)draws; - (void) _setDocumentType:(NSInteger)type; - (void) setDrawsGrid:(BOOL)draws; @@ -322,6 +320,10 @@ typedef enum { @property(assign, nonatomic) float decelerationRate; @end +@interface UIWebView (iOS_3_0) +@property(assign, nonatomic) NSUInteger dataDetectorTypes; +@end + extern float const UIScrollViewDecelerationRateNormal; #endif//AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER -- 2.45.2