I am trying to get images into the ImageSlideshow with SDWebImage. I can get the images but can't format them. I hope I am making sense.
let url="https://myoscapp.com/boot/json_procuct_info.php"
Alamofire.request(url, method: .get).validate().responseJSON { response in
switch response.result {
case .success(let value):
let json = JSON(value)
let imageslider=json[0]["products_gallery"].array
if json[0]["products_gallery"].array != nil {
let imageQuantity=imageslider?.count
var i = 0
while i < imageQuantity! {
let individualimage=imageslider?[i]["image"].stringValue
print(individualimageUrl!)
i=i+1
}
}
Let try this to add
SDWebImage
toImageSlideshow
Create outlet for your slideshow
With your Example :
in Addition:
How to set ImageSlideshow image sources for ImageSource, SDWebImage, AFURLSource, AlamofireSource, KingfisherSource.