summaryrefslogtreecommitdiff
path: root/UICaboodle/BrowserView.m
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-05-09 12:42:27 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:15 +0000
commitfa333ece4028bbbe63c1053f5e0ccc8d4b61771c (patch)
tree593c3d9058cf54fc64b1cf991b7666bad96571f8 /UICaboodle/BrowserView.m
parentf871cf41e1eb2af727d9825e4fa289e1e8470ecf (diff)
Deal with a few deprecated messages.
Diffstat (limited to 'UICaboodle/BrowserView.m')
-rw-r--r--UICaboodle/BrowserView.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/UICaboodle/BrowserView.m b/UICaboodle/BrowserView.m
index fbec7b7..cb3709c 100644
--- a/UICaboodle/BrowserView.m
+++ b/UICaboodle/BrowserView.m
@@ -1058,8 +1058,10 @@
if ([scroller_ respondsToSelector:@selector(setZoomScale:duration:)])
[scroller_ setZoomScale:1 duration:0];
- else
- [scroller_ setZoomScale:1 animated:NO];
+ else if ([scroller_ respondsToSelector:@selector(_setZoomScale:duration:)])
+ [scroller_ _setZoomScale:1 duration:0];
+ /*else if ([scroller_ respondsToSelector:@selector(setZoomScale:animated:)])
+ [scroller_ setZoomScale:1 animated:NO];*/
CGRect webrect = [scroller_ bounds];
webrect.size.height = 0;