Open dongdong3344 opened 7 years ago
As far as I see, this line
layer.add(shrinkAnim, forKey: shrinkAnim.keyPath)
causes all the problems.
Also, there is a problem with spinner when constrains in storyboard are broken
Same problem here on iOS 10, XCode 8, Swift 3.0. Any workaround?
Hey @wampir1408 can I have some more information and a few screenshots?
Not working here too, iOS 10, xcode 8, Swift 3.0
The problem occurs because the SpinnerLayer is calculated before the TKTransitionSubmitButton has a size (even though it's lazy).
I've. I've moved the spiner.spinnerColor = spinnerColor
line to the startLoadingAnimation()
function, so the spinner initialisation is delayed until TKTransitionSubmitButton has a concrete size.
With Xcode Version 8.3.3 (8E3004b), I create a loginAndRegister Button, when I click the button, I want to call the 'startLoadingAnimation()' Method, but the sipnerLayer with default configuration won't show on the button. I didn't modify any file which in the TKSubmitTransition folder. Any analysis for it ?Thanks!