Tag: 形象

用swift从应用程序ioscaching中读取图像

我目前正在从我的firebase存储中读取图像 – 这工作正常。 从存储中读取图像时,我设置了一个caching来读取图像: // Storage.imageCache.object(forKey: post.imageUrl as NSString) static func getImage(with url: String, completionHandler: @escaping (UIImage) -> ()) { if let image = imageCache.object(forKey: url as NSString) { print("CACHE: Unable to read image from CACHE ") completionHandler(image) } else { let ref = FIRStorage.storage().reference(forURL: url) ref.data(withMaxSize: 2 * 1024 * 1024) { (data, error) […]

将Instagram图像拉到我的应用程序

我正在开发和iPad的iPad应用程序,在那里你可以个性化茶杯导入照片从卷。 我很想添加Instagram,所以用户可以添加他的Instagram的照片。 有没有任何SDK或插件?