Here is an iOS Animation which you can use just like FB messenger heart Animation
pod 'IAFBHeartAnimation'
import IAFBHeartAnimation
After installation use this line of code
heartAnimation.init(masterView: self.view, image: UIImage(named: "iamgeName"), numberOfItemsToShow: 30)