We can select elements from array randomly using ransomElement() function. Share this:TwitterFacebookLike this:Like Loading... Post navigation How to create random numbers in Swift? How to shuffle elements in an array in Swift?