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.
我只是有一个简单的问题。我将自定义字体(Source Sans Pro)导入XCode并能够将其应用于元素:
XCode
txt.font = [UIFont fontWithName:@"Source Sans Pro" size:18];
我的问题是,有没有一种简单的方法可以通过说将这种字体应用于应用程序中的所有元素Appdelegate?我不想将它单独应用于每个元素。有任何想法吗?
Appdelegate