Posts

Showing posts with the label lottie

How to play Lottie animations in objective c

How to play Lottie animations in objective c I have install pod files for Lottie and downloaded the hello.json file from lottiefiles.com LOTAnimationView *Hello_loader; Hello_loader = [LOTAnimationView animationNamed:@"hello"]; [self.view addSubview:Hello_loader]; I had tried it in both viewDidLoad() and viewDidAppear() but still, it does not appear viewDidLoad() viewDidAppear() I am new to this ios programming can anyone please help me to resolve this?. Thanks in advance... 1 Answer 1 try this LOTAnimationView *Hello_loader; Hello_loader = [LOTAnimationView animationNamed:@"hello"]; [self.view addSubview:Hello_loader]; [self.Hello_loader play]; Still not working... it's viewing the blank page @IOS – RK ios Jun 30 at 7:40 ...