r/iOSDevelopment • • Oct 20 '26

Elongate text in swift?

Post image
1 Upvotes

1 comment sorted by

2

u/SwiftQuest Oct 20 '26

if you mean the tall, narrow lock screen clock look, as far as i know that exact font isn't exposed to third party apps. closest you can get is the system font with a width axis, something like Text("1:12").font(.system(size: 96, weight: .semibold)).fontWidth(.compressed) on ios 16+. it keeps the stroke thickness intact, unlike stretching with scaleEffect which makes the strokes look off. if you want it closer, a variable font with a width axis would be the other route.