How to make a random color with Swift

后端 未结 11 1602
甜味超标
甜味超标 2020-11-27 04:01

How I can make a random color function using Swift?

import UIKit

class ViewController: UIViewController {

    var randomNumber = arc4random_uniform(20)
            


        
11条回答
提交回复
热议问题