Created
December 31, 2018 15:22
-
-
Save ktanaka117/2eaf830930e4825c6379f37daaba40e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ここでは Boat_Loader.json というバンドルされたアニメーションファイルを設定 | |
let boatAnimation = LOTAnimationView(name: "Boat_Loader") | |
boatAnimation.contentMode = .scaleAspectFill | |
boatAnimation.frame = view.bounds | |
view.addSubview(boatAnimation) | |
boatAnimation.play() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment