Open mafellows opened 9 years ago
Button inside of ripple is centered perfectly until edges for extended layout is changed.
With the following code change, the ripples stay centered in the view. The button shifts downward and appears off-centered.
if ([self respondsToSelector:@selector(edgesForExtendedLayout:)]) { self.edgesForExtendedLayout = UIRectEdgeNone; }
Thanks for pointing this out.
Button inside of ripple is centered perfectly until edges for extended layout is changed.
With the following code change, the ripples stay centered in the view. The button shifts downward and appears off-centered.