MVBouncyView -


BSD
iOS
Objective-C

软件简介

MVBouncyView 是 UIView 的分类,提供圆角控制效果。

UIView *view = (some view in your code)
view.bounceAmplitude = 1.25f; // optional
view.bounceAttenuation = 1.05f; // optional
view.bounceDuration = 0.3f; // optional
[view bounce:nil];

// To stop bouncing and return to original dimensions
[view cancelBounce];