Create a gif animation in iOS.
Created
October 29, 2016 03:16
-
-
Save pokk/fbc4a14b42ed90889eb8c6ee472329ab to your computer and use it in GitHub Desktop.
create a gif animation in iOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// reference : http://www.51mono.com/article/show/102.html | |
// Loading gif file | |
NSUrl localFile = NSUrl.FromFilename("Resources/Images/Common/Dialog/Preloader_a.gif"); | |
NSUrlRequest request = new NSUrlRequest(localFile); | |
vc.wvLoadingTypeH.BackgroundColor = UIColor.Clear; | |
vc.wvLoadingTypeH.Opaque = false; | |
vc.wvLoadingTypeH.LoadRequest(request); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment