AladinWay / TransitionButton

UIButton sublass for loading and transition animation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Button Title Disappears after a couple seconds

osamaazmat opened this issue · comments

My transition button title disappears after a few seconds I have tried by auto layout and programmatically too. Please help me if I am missing something

Okay so I found the exact issue, The problem occurs when the button not yet animating and we stop the button's animation. I added a flag to tackle this problem and its solved for me.

cachedTitle is currently set in startAnimation. It should probably be also populated in one or more of the initializers.