Skip to content

Instantly share code, notes, and snippets.

@jaemyeong
Created Aug 23, 2022
Embed
What would you like to do?
public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
// 폰트 등록
do {
try Pretendard.registerFonts()
} catch {
os_log(.error, "%@", String(describing: error))
}
return true
}
public func applicationWillTerminate(_ application: UIApplication) {
// 폰트 취소
do {
try Pretendard.unregisterFonts()
} catch {
os_log(.error, "%@", String(describing: error))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment