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
when i called btn.showAnimatedSkeleton(), UIButton can't hide text #309
Comments
Hi @greatsk55 , Could you give me more details about your problem? I've checked and the skeleton appears and the text is out... |
Hi! I'm checking this issue but I need more info about it. Which Xcode version and iOS are you using? |
I'm using: I was researching and it seems that now when you add a layer on a button, it is added after de text. I'm not sure if it's because of the Swift version or Xcode version, but previously the layer was added before the text. |
I've merged a PR solving this problem. This fix will be available in the next version. Meanwhile, you can set the Podfile Anyway, I'd like to release the next version at the end of this week :) |
🙏🏼 Please check if it already exists other issue related with yours.
What did you do?
I want to showanimatedSkeleton to a UIButton.
What did you expect to happen?
When I called btn.showAnimatedSkeleton(), I expected it to be animated like any other view.
What happened instead?
Skeleton animation was the same, but the text of the UIButton came out.
The text was updated successfully, but these errors were encountered: