문제

How can I pick a random UIFont by name (with a constant size)?

There isn't much more to this question but it seems SO wants more from me so here is some meaningless twaddle.

도움이 되었습니까?

해결책

create an array of all the fonts you want and then use arc4rand to pick a random object at index to use as your font.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top