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.
是否有一个 Obj-C 函数可以将第一个字符大写而其他字符小写?
感谢您的建议
确实是的:
[myString capitalizedString];
(请注意,这会将句子中的每个单词大写(即“hello there”->“Hello There”)又名“Title Case”)