Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
iOS13とフォントのお話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
h.crane
November 08, 2019
Technology
1.9k
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iOS13とフォントのお話
NCMB Study #9「iOS13」での登壇内容になります
https://ncmb.connpass.com/event/149814/
h.crane
November 08, 2019
More Decks by h.crane
See All by h.crane
From Desktop to Spatial Interfaces UX Design Implications of Evolving Interaction Paradigms
hcrane
0
66
Personal Voice on iOS26
hcrane
0
230
iOSDJ2025 - Stream Deck Plugin using Swift
hcrane
0
2.3k
Getting started with controlling LEGO using Swift
hcrane
2
1.5k
Swift 5.9 と C++ の互換性
hcrane
1
970
Live on iOSDC2023
hcrane
4
1.7k
自販機で1000円を使い切りたいんじゃ!
hcrane
0
240
Vision.framework - 商品画像からのテキスト検出と並列化実装への試み
hcrane
1
940
DevRel/Japan 2023 - 1つの事業部だけで行う DevRel とは
hcrane
0
1.3k
Other Decks in Technology
See All in Technology
C#未経験の僕がAIに読めるコードを書かせるまで
maguroalternative
0
110
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
220
SREは、MCPとAutopilotをこう使え!
kazumax55
3
910
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
150
AI時代の「技術的負債」の変質ー概念の終焉と再解釈、エージェントと共に向かう先
nwiizo
1
2.9k
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
530
Claude Codeを「使うほど育つ」AI秘書にするノウハウ
minorun365
PRO
32
28k
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
What the customer really needed
kawaguti
PRO
3
210
人間はどの意思決定を手放せるのか
kawasima
15
7.5k
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
240
AI coding 整合正規方法
philipz
0
350
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
320
Mobile First: as difficult as doing things right
swwweet
225
10k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
280
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
230
Large-scale JavaScript Application Architecture
addyosmani
515
110k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
280
Game over? The fight for quality and originality in the time of robots
wayneb77
1
280
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
First, design no harm
axbom
PRO
2
1.3k
GraphQLとの向き合い方2022年版
quramy
50
15k
Transcript
iOS13とフォントのお話 HiromuTsuruta
About me 〈Company〉 - every, inc. / DELISH KITCHEN 〈Role〉
- iOS Developer 〈Account〉 - Twitter: @hcrane14 - Qiita: H_Crane
事前アンケートをとりました
None
https://speakerdeck.com/hcrane/combinedeapikuraiantowozuo-ru
iOS13とフォントのお話
Font Management and Text Scaling 引用: https://developer.apple.com/videos/play/wwdc2019/227/
フォント周りのAPIこんなに増えてる!!
iOS 13 / iPadOS 13 で フォントが管理できるようになった!
今までと何が違うの?
比較 iOS12まで iOS13から CTFontDescriptorMatchFontDescriptorsWithProgressHandler CTFontManagerRegisterGraphicsFont CTFontManagerRegisterFontsWithAssetNames ダウンロード ダウンロード 共有不可 共有可
- フォントを設定から確認する方法がない - 自動的にシステムからフォントが削除されることがある - アプリごとにフォント利用のAPIを呼ぶ必要がある - フォントを設定から管理できる - フォントの保持期間を設定できる - アプリごとにフォント利用のAPIを呼ぶ必要がない
- フォントを確認できる - フォントを削除できる 設定画面
引用: https://japanese.engadget.com/2019/11/02/ios-13-ipados-adobe-1300/ 「iOS 13/iPadOSで無料のAdobeフォント1300種類が利用可能に」
アプリでフォントを使うには?
方法① サクッと使いたい!
None
大人しくソースコード読むか、、、
None
DEMO UIFontPickerViewController 引用: https://github.com/Zedd0202/UIFontPickerViewController_Example
ViewController UIFontPickerViewController Delegate フォントを呼び出す フォントを選ぶ フォントが返ってくる
UIFontPickerViewControllerは Appleが用意したフォントの切り替えしかできない
方法② ダウンロードしたものを使いたい!
インストール済みのフォント一覧を取得 フォント一覧からフォント名を取得 WWDC 2019から
問題が1つ、、、
実はまだ、、、
ダウンロードしたフォントを、、、
他のアプリでは使えない
ダウンロードしたアプリ内でしか使えない!!!
ただし、Appleが出しているアプリでは カスタムフォント(ダウンロードしたもの)に対応している
朗報!
引用:https://lab.hendigi.com/ipad-photoshop-cc/ Apple以外のアプリで カスタムフォントに対応したアプリが出た! Adobe Photoshop for iPad
何かしらシステムのフォントに アクセスする方法があるっぽい? (現状正規のAPIではない)
そのうちAPIが解放されるのでは、との噂?
fin