Use the following code:-
diceImageView.image = #imageLiteral(
it will automatically set you an arrays of pictures you have set for your project!
Thank you!
Syed Ajaz Mumtaz
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: