alamofireimage Questions
3
Solved
I have 200px x 200px UIImageView on UICollectionViewCell that will display an image from URL. The problem is I don't know what resolution's image provided by the URL and I think it's better to resi...
Harleigh asked 24/8, 2016 at 23:44
7
Solved
In older version of Alamofire. This is how I download file
let destinationPath = Alamofire.Request.suggestedDownloadDestination( directory: .documentDirectory, domain: .userDomainMask);
Alamofi...
Spavin asked 7/10, 2016 at 8:34
6
I am stuck in uploading multiple images in multipart using Alamofire. Can any one help me?
Thanks in advance!!
For more details, I am using this code to create body part of images data:
func imag...
Teleran asked 26/10, 2016 at 12:22
1
Solved
I'm using AlamoFireImage to crop an user profile picture before sending it to the server. Our server has some restrictions and we can't send images larger than 640x640.
I'm using the af_imageAspec...
Lathy asked 1/5, 2019 at 0:36
10
Solved
I am using AlamofireImages to try to download an image from a server and display it in my table view cell, this is what I got, but my images does not appear, just the textLabel and detailTextLabel
...
Boong asked 21/5, 2018 at 1:42
4
Solved
I've updated my code to Swift 3 and am having trouble with the migration to Alamofire 4.0. I've used the Alamofire migration guide to successfully make most of the necessary modifications, but am s...
Cicatrix asked 4/10, 2016 at 17:51
2
Solved
I'm using AlamofireImage to download and set my UIImage:
backdrop.af_setImageWithURL(downloadURL)
The image is substantially larger than what I will be displaying and so I have an issue with ali...
Danieladaniele asked 27/6, 2016 at 20:1
2
Solved
I'm trying to build a test app that uses CoreSpotlight to make content searchable in iOS Spotlight. Currently I have it setup to whenever the user taps a refresh button it makes a server request th...
Spacecraft asked 22/5, 2017 at 0:48
3
Solved
I need to call the Multipart request with Image file and JSON.
I have tried this, but still getting the error.
// define parameters
let parameters = [
"hometown": "yalikavak",
"living": "ista...
Hypertension asked 12/8, 2017 at 14:8
2
I'm using AlamofireImage to set an image on a UIImageView in a UITableViewCell like so:
cell.imageView.af_setImageWithURL(url)
The image doesn't show after downloading. It will show the image th...
Sabbat asked 2/12, 2015 at 3:8
2
Solved
I want to use AlamofireImage to download images from an url and then cache it on the device disk space. I read several posts about this and found out that AlamofireImage supports this with the help...
Protractor asked 27/10, 2016 at 10:52
1
Solved
How do we add an authentication header to the upload function of Alamofire 4.0?
below is the sample code, however I see no way in adding a header to the function.
Alamofire.upload(
multipartForm...
Giraldo asked 22/9, 2016 at 5:34
1
I'm using the AlamofireImage library to cache downloaded images.
Code:
import UIKit
import AlamofireImage
class ViewController: UIViewController {
@IBOutlet weak var firstImageView: UIImageVie...
Sexist asked 4/5, 2016 at 23:35
1
Solved
I've been reading a lot of answers here saying that by using AlamofireImage helper methods (e.g. af_setImageWithURL()) or any equivalent library, you don't need to worry about cell reusing stuff (P...
Clump asked 21/12, 2015 at 20:16
1
Solved
all
I am learning Swift and I am trying to set an image on a UIImageView using AlamofireImage. I am using the following code:
self.listImageView.af_setImageWithURL(
NSURL(string: list!.image!)!,...
Randalrandall asked 26/11, 2015 at 20:14
1
© 2022 - 2024 — McMap. All rights reserved.