1. 工具
- Xcode Version 14.3 (14E222b)
- SwiftUI
- 得意黑 Smiley Sans
2. Download
https://github.com/atelier-anchor/smiley-sans/releases
3. Add Files to xxx
4. Add Test Code
Text("Less is more. 朱洪苇 123")
.font(.custom("SmileySans-Oblique", size: 36))
5. Preview
参考资料
https://sarunw.com/posts/how-to-add-custom-fonts-to-ios-app/