Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Owner and Founder. Opencart
Top Partners
Some times we need to perform some action on clicking the button , and we have to wait for some time for respective result.Generally we use loader in middle of screen after data will come we close the loader. we can also show the loader on that where we have clicked and when the data will come we stop the loader and set the default text on UIButton which was previously set.
For this we need to follow some steps:
1: Take UIButton from StoryBoard.
2: Now select UIButton , and click on “Show the identity Inspector”
3: Now In Class write the custom class Name “LoadingButton”
4: Now Define This Class:
5: Now its time to use :
6: Crate the outlet as action of UIButton:
7: Now In this function you can use any kind of call or function, and when the result will come
Simply
8: When it will stop , it will showing the default title in button.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
All communication is done through a ticket system. I appreciate the regular almost daily updates of what is being worked on, and communicating changes or updates is easy through this system. Mobikul's response timeframe is quick.
Josh Arnold
Owner, Shop ATV Escape
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.