IOS6 ScrollBarShouldScrollToTop does not start / ScrollView Delegation Error

I add a dummy ScrollView to my application to detect a user clicking on the status bar to execute an event in my program .. I create it in ViewDidLoad:

//Dummy Scroll is for the tap on status bar to work 

UIScrollView *dummyScrollView = [[UIScrollView alloc] init]; 
dummyScrollView.delegate = self; 
[[self view ] addSubview:dummyScrollView]; 
[[self view] sendSubviewToBack:dummyScrollView];  

Then I implement:

 - (BOOL)scrollViewShouldScrollToTop:(UIScrollView *)scrollView 
 { 

NSLog(@"scrollViewShouldScrollToTop");
 .
 .
 }

In all previous versions of iOS, this worked fine and flawlessly, but under iOS 6 scrollViewShouldScrollToTop is never called. This is mistake? The API says that it should still be available as part of the delegate in iOS6, but in iOS6 it never runs on both devices and simulators ... Does anyone know what is going on?

- TableView ScrollView, MAPVIEW?? MapView mustScrollToTop, , NO... , iOS 6...

+5
2

iOS 6 , , scrollsToTop.

, scrollView 0 .

. .

, iOS 6

dummyScrollView.frame = self.view.bounds;
dummyScrollView.backgroundColor = [UIColor clearColor];  
0

, UIScrollView - UIScrollView ? , iOS6, UIScrollView, scrollsToTop = YES. , scrollViewShouldScrollToTop.

, UITableView , , . , , , TableView UIWebView webView.scrollView (, iOS6), scrollViewShouldScrollToTop, iOS6 TableView.

tableViewCell "scrollsToTop = NO", , . -, :

myCustomCellWithAWebView.webView.scrollView.scrollsToTop = NO;

, !

+5

All Articles