Android App Development
iOS App Development
Flutter 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
Founder. Opencart
Top Partners
Some Times we require to display Gif images in ios so if we display using UIImageView then it will display as a constant image ,no movement in the image.
I have used in UIalertController to make attractive .
1: Save the Image as .gif extension in any places in computer directory.
2: Go to That Url “http://ezgif.com/split” and upload Gif image . so it will Split image into the number of Frames and download it.
3: Make a folder and store all images in that folder and drag to your project directory.
Note: images save in folder in like 1.gif,2.gif… so please named as regular number so that you can easily store in NSArray .
4: write that code:
5 : Here (1.gif,2.gif are split images of actual gif image.)
6: Now write that static method in the Global class and call like this.
UIWindow * currentWindow = [UIApplication sharedApplication].keyWindow;
[GlobalData alertController:currentWindow msg:@”Please Wait….”];
here GlobalData is global class .
Remove Or dismiss
[[currentWindow viewWithTag:121212] removeFromSuperview];
7: Happy coding………………
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
The results provided were above our expectations both in deliverability timeline as well as operation. They are a top-notch company with many resources and a company we feel honoured to work with again!
Lee Seward
Founder, Gro-Connect
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.