I would recommend breaking out the frames of that gif and use animatedImageNamed:duration:
– you can name them all the similar name with a number change at the end. For instance:
loading-1.png
loading-2.png
loading-3.png
etc.
Xcode will recognize you want multiple images and will play those through in order.
Look at THIS
Related Posts:
- App iOS stuck on blank white screen when build release React Native
- iOS Simulator – Can’t log in with iCloud
- iOS: Random black screen when loading the app
- Drawing Hexagon grid in Cocos 2d-x
- iPhone system font
- libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
- libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
- Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code
- How to write C++ on Mac?
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3
- A server with the specified hostname could not be found
- Where is redeem code for public link for TestFlight?
- How do you create a Swift Date object?
- Xcode 10, Command CodeSign failed with a nonzero exit code
- Swift 4 Attempt to present ViewController whose view is not in the window hierarchy
- Xcode – How to fix ‘NSUnknownKeyException’, reason: … this class is not key value coding-compliant for the key X” error?
- What are the difference between macOS and iOS?
- Xcode couldn’t find any provisioning profiles matching
- Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy
- symbol(s) not found for architecture x86_64 in xcode 10
- UITableView example for Swift
- Attempt to present UIViewController on UIViewController whose view is not in the window hierarchy
- Converting String to Int with Swift
- CFNetwork SSLHandshake failed (-9824) NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)
- Where is the variable “code” in SKError defined?
- Command CompileSwift failed with a nonzero exit code in Xcode 10
- Is there a private messaging UI (inbox, sent, compose) framework for iOS?
- ‘strcmp’ was not declared in this scope
- malloc: *** error: incorrect checksum for freed object – object was probably modified after being freed
- Always get build error : No such module ‘Alamofire’
- NSURLErrorDomain error codes description
- what does Error “Thread 1:EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)” mean?
- Duplicate symbols for architecture x86_64 under Xcode
- Print: Entry, “:CFBundleIdentifier”, Does Not Exist
- Date Format in Swift
- What the meaning of question mark ‘?’ in swift?
- Loaded nib but the ‘view’ outlet was not set
- Xcode 9 – “Fixed Width Constraints May Cause Clipping” and Other Localization Warnings
- iPhone 6 and 6 Plus Media Queries
- Got a EXC_CORPSE_NOTIFY symbol crash, how to track it?
- “Could not find any information for class named ViewController”
- warning: ‘characters’ is deprecated: Please use String or Substring directly
- com.apple.WebKit.WebContent drops 113 error: Could not find specified service
- Could not insert new outlet connection: Could not find any information for the class named
- What is the meaning of ‘No bundle URL present’ in react-native?
- Convert .cer to .p12
- Add a simple UIView as header of UICollectionView
- UIButton title text color
- Xcode: Could not locate device support files
- Remove alpha channel in an image
- Pod install is staying on “Setting up CocoaPods Master repo”
- Download Xcode simulator directly
- Swift Error: Variable used within its own initial value
- Alert”Developer tools access needs to take control of another process for debugging to continue.Type your password to allow this.”
- Could not load NIB in bundle
- Prepare for Segue in Swift
- Xcode error “Could not find Developer Disk Image”
- How to play a sound using Swift?
- IOS home screen icons: where put and what size?
- Problem with gif with transparent background
- Visual List of iOS Fonts?
- Differences between arm64 and aarch64
- Error Running React Native App From Terminal (iOS)
- Add swipe left/right to web page, but use default swipe up/down
- MpMovie Player not rotating to land scape mode
- Python Error io.UnsupportedOperation: not readable
- How to animate GIFs in HTML document?
- react-native: command not found
- How to use iMonkey in an iOS app
- How to view .img files?
- How to view .img files?
- UIStackView before iOS 9.0
- CFNetwork SSLHandshake failed iOS 9
- Processing Symbol Files in Xcode
- Developing Unity game on Windows for iOS devices
- Xcode error: This device is no longer connected
- How to display a gif fullscreen for a webpage background?
- Code signing is required for product type ‘Application’ in SDK ‘iOS 10.0’ – StickerPackExtension requires a development team error
- invalid use of ‘this’ outside of a non-static member function error?
- socket.io – ReferenceError: io is not defined
- Storyboard warning: prototype table cells must have reuse identifiers
- mailto link with HTML body
- wp.getUsers XML-RPC method is returning only 50 users, how can i get all the users
- WordPress Iris Colour Picker adding iOS touch events
- Multisites, upload issues, and iOS!
- Apple push notification doesn’t work
- WordPress as webapp login session
- MP4 video on wordpress working on desktop, not on mobile devices
- How to query WordPress from another application?
- How can I improve the performance of this query_posts loop?
- Whats the best Practice for using a different Theme for WebView Apps?
- Download user generated data from WordPress
- IOS Ventura Safari 16.3 position fixed elements goes above scroll bar