Animoji | Generating Animal Emoji in iOS

Animoji is an iOS library that gives access to the private framework AvatarKit to generate Animoji, just like the Messages app.

Animoji | Generating Animal Emoji in iOS

AuthorLinksMade withLast update
efremidzeOffice HomeSwiftFeb 13, 2022

How to use Animoji?

(1) installation

Animoji is available via CocoaPods and Carthage

CocoaPods

add this in your Podfile:

use_frameworks!
pod "Animoji"

Carthage

add this in your Cartfile:

github "efremidze/Animoji"

(2) usage

You can initialize an Animoji like a UIView. Animoji is a SCNView so if your using a storyboard/xib use a SceneKit View.

import Animoji

let animoji = Animoji(frame: self.view.bounds)
animoji.setPuppet(name: .cat)
view.addSubview(animoji)