Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE: UIScrollView now uses XAML ScrollViewer control behind the scenes #971

Closed
ArnOmsft opened this issue Sep 8, 2016 · 0 comments

Comments

@ArnOmsft
Copy link
Member

ArnOmsft commented Sep 8, 2016

With this week’s release comes a change to UIScrollView we wanted to share more information about. We have replaced the previous custom implementation of UIScrollView with one that uses the XAML ScrollViewer control behind the scenes. This change might not be fully transparent for any app that’s using the current implementation since the new implementation does not currently support some properties that were supported in the previous implementation.

Here is a summary of what comes with this new implementation compared to what’s available today:

<style type="text/css"> </style>
Feature Current Implementation New implementation
- setContentOffset:animated: Yes Yes
contentOffset Yes Yes
contentSize Yes Yes
contentInset Yes Yes
scrollEnabled Yes Yes
directionalLockEnabled No Yes
scrollsToTop No No
- scrollRectToVisible:animated: Yes Yes
pagingEnabled Yes Yes
bounces Yes No
alwaysBounceVertical Yes No
alwaysBounceHorizontal Yes No
- touchesShouldBegin:withEvent:inContentView: No No
- touchesShouldCancelInContentView: No No
delaysContentTouches No No
decelerationRate No No
dragging Yes Yes
tracking Yes Yes
decelerating Yes Yes
indicatorStyle No No
showsHorizontalScrollIndicator Yes Yes
showsVerticalScrollIndicator Yes Yes
- flashScrollIndicators No No
panGestureRecognizer Yes No
pinchGestureRecognizer Yes No
- zoomToRect:animated: Yes Yes
zoomScale Yes Yes
- setZoomScale:animated: Yes Yes
maximumZoomScale Yes Yes
minimumZoomScale Yes Yes
zoomBouncing Yes No
zooming Yes Yes
bouncesZoom Yes No
Double tap auto-zooming Yes Yes
delegate Yes Yes
- scrollViewDidScroll: Yes Yes
- scrollViewWillBeginDragging: Yes Yes
- scrollViewWillEndDragging:withVelocity:targetContentOffset: Yes Yes
- scrollViewDidEndDragging:willDecelerate: Yes Yes
- scrollViewShouldScrollToTop: No No
- scrollViewDidScrollToTop: No No
- scrollViewWillBeginDecelerating: Yes Yes
- scrollViewDidEndDecelerating: Yes Yes
- viewForZoomingInScrollView: Yes Yes
- scrollViewWillBeginZooming:withView: Yes Yes
- scrollViewDidEndZooming:withView:atScale: Yes Yes
- scrollViewDidZoom: Yes Yes
- scrollViewDidEndScrollingAnimation: Yes Yes
keyboardDismissMode No No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant