The (current) online documentation is actually wrong (or not up-to-date). It is documented in the iOS 7.0 API Diffs that the declaration of the delegate method has changed to
- (void)scrollViewDidEndZooming:(UIScrollView *)scrollView
withView:(UIView *)view
atScale:(CGFloat)scale; // <-- "CGFloat" instead of "float"
On 64-bit architectures (such as arm64), CGFloat
is defined as a double
and
therefore different from a float
.