I would like to change the content of a UIButton to an ActivityIndicator after it is pressed.
I know buttons have an imageView and a titleLabel, but I don\'t know how to
i have written a library in swift, it has 7 different styles and animations to show an indicatorview in uibutton, here it is
https://github.com/farshadjahanmanesh/loady