Cell images are loading incorrectly iOS swift

Solution:

If you loaded the image with if condition then you must have to put the else condition in your cell.

Then only it will works good.Otherwise image will be loaded incorrectly.


                    if name == ""{


cell.imgView.image = UIImage(named: "imagename")                    } else {
cell.imgView.image = nil
}

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift