mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-03-11 05:19:13 +00:00
asdf
This commit is contained in:
@@ -9,7 +9,9 @@ import Foundation
|
||||
import UIKit
|
||||
|
||||
class GifManager {
|
||||
//from clock-run, 12 frames one second
|
||||
static let defaultDuration: Double = 0.083333333333333329
|
||||
|
||||
static func gifFrom(url: URL) async -> [(frame: CGImage, showFor: Double)] {
|
||||
guard let (data, _) = try? await URLSession.shared.data(from: url) else { return [] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user