
안녕하세요. 오늘은 작업하다 보면 자주 쓰이는 움직이는 그림을 어떻게 화면에 보이게 하는지 알아봅시다. 일반적으로 움직이는 사진을 그냥 넣으시면 안 움직이시는 걸 종종 보셨을꺼에요. 그래서 우리는 다른 방법을 사용할 겁니다. 당연히 gif 를 움직이게 하는 방법도 있긴 하지만 이 포스트는 Lottie 파일로 하겠습니다. 따라서 pod 'lottie-ios' 를 반드시 추가해주세요(cocoapod) https://github.com/airbnb/lottie-ios GitHub - airbnb/lottie-ios: An iOS library to natively render After Effects vector animations An iOS library to natively render After Eff..
iOS개발/Swift 기능
2022. 12. 1. 17:59