//0-255的随机数
#define randint arc4random() % 256
//随机色
#define randColor [UIColor colorWithRed:randint/255.0 green:randint/255.0 blue:randint/255.0 alpha:1.0]
时间: 2024-08-25 14:01:31
//0-255的随机数
#define randint arc4random() % 256
//随机色
#define randColor [UIColor colorWithRed:randint/255.0 green:randint/255.0 blue:randint/255.0 alpha:1.0]