Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iOS13とフォントのお話
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
h.crane
November 08, 2019
Technology
1.8k
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
Personal Voice on iOS26
hcrane
0
200
iOSDJ2025 - Stream Deck Plugin using Swift
hcrane
0
2k
Getting started with controlling LEGO using Swift
hcrane
2
1.4k
Swift 5.9 と C++ の互換性
hcrane
1
940
Live on iOSDC2023
hcrane
4
1.6k
自販機で1000円を使い切りたいんじゃ!
hcrane
0
220
Vision.framework - 商品画像からのテキスト検出と並列化実装への試み
hcrane
1
920
DevRel/Japan 2023 - 1つの事業部だけで行う DevRel とは
hcrane
0
1.2k
R2-D2をiOSで動かす
hcrane
2
5.3k
Other Decks in Technology
See All in Technology
Snowflakeと仲良くなる第一歩
coco_se
4
470
SONiCの統計情報を取得したい
sonic
0
160
アンオフィシャルな、オフィシャルからのお願い
wyamazak_devrel
0
110
Bedrock AgentCore RuntimeでAuth0 Changelog調査AIをアップグレードした話
t5u8a5a
1
140
AAIFに入ってみた ~内から見えるコミュニティ動向~
sato4
0
220
2026.06.13_AI時代に事業会社が「SIer出身エンジニア」を求める理由 / Why Businesses Seek Engineers with a System Integrator Background in the AI Era
jumtech
0
1.1k
手塩にかけりゃいいってもんじゃない
ming_ayami
0
570
作って終わりにしない タイミーのセマンティックレイヤー育成の現在地
chanyou0311
4
2.4k
AIの性能が向上しても未解決な組織の重大問題は何か?/An Unsolved Organizational Problem in the Age of AI
moriyuya
4
660
GitHub Copilot 最新アップデート – 「一歩先」の実践活用術
moulongzhang
2
340
連合学習と機密コンピューティング
lycorptech_jp
PRO
0
120
MUSUBI 田中裕一『AIと共に行う「しごとのリデザイン」- スモールバックオフィス編』AI Ops Lab #4
musubi
0
180
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
A Soul's Torment
seathinner
6
2.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
180
Everyday Curiosity
cassininazir
0
230
Prompt Engineering for Job Search
mfonobong
0
340
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Designing for Performance
lara
611
70k
How STYLIGHT went responsive
nonsquared
100
6.2k
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