SwiftUI - How to get user's Memoji?

753 Views Asked by At

I was wondering how I can get a user's Memoji with SwiftUI. Unfortunately, Apple's AvatarKit is private and can't be used in production apps.

So is there a way to get a Memoji sticker from the keyboard? I've tried looking at .keyboardType but it doesn't have any options for stickers/memoji.

I am basically wondering how I can get the Memoji to show up in the keyboard for a TextField in SwiftUI. I know you can do it outside of SwiftUI (by setting allowsEditingTextAttributes to yes).

0

There are 0 best solutions below