Thank you! I've already made the photos fill up the entire cell through constraints and this is the code I used to get rid of the seperator and spacing which worked well but theres still that little sliver.
cell.separatorInset=UIEdgeInsets.zero
cell.layoutMargins=UIEdgeInsets.zero