Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
拼写错误,它是“arc4random”。
错误消息说明了一切。您是否尝试过使用:
int actualDuration = (arc4random() % rangeDuration) + minDuration;
代替
int actualDuration = (ark4random() % rangeDuration) + minDuration;