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.
如何更改 Apple Watchinterface controller标题大小/文本?我们可以提供自定义字体吗?尝试以编程方式设置标题,NSAttributedText但没有成功。有任何想法吗 ?
interface controller
NSAttributedText
您可以通过调用以下方法更改界面控制器的标题: swift : func setTitle(_ title: String?) objc:- (void)setTitle:(NSString *)title 目前我们无法更改标题文本大小或使用自定义字体作为标题。
func setTitle(_ title: String?)
- (void)setTitle:(NSString *)title