maiya

Results 4 comments of maiya

you can preview your json use LottieFiles App in appstore. maybe you can set frame to your animationview or contentMode. your json work is good in my code.

![Simulator Screen Shot - iPhone 8 - 2021-12-07 at 17 47 59](https://user-images.githubusercontent.com/13246625/145006163-87f54ce5-75bd-4203-bd13-83a8d576c67f.png) in my simulator is ok this is my code: ``` let loadingImageView = AnimationView().then { $0.animation = Animation.filepath(R.file.animationFileIOSSDKPlaysItWrong1Json.path()!)...

> @maiyabj is the problem in iOS SDK? https://user-images.githubusercontent.com/13246625/145006756-713403da-4e99-4ca2-917a-7d841b177aac.mp4 ``` you can set const to width or height loadingImageView.snp.makeConstraints { make in make.centerX.equalToSuperview() make.top.equalToSuperview().offset(200) make.width.equalTo(100) make.height.equalTo(160) } ``` https://user-images.githubusercontent.com/13246625/145006929-36caefa3-8b94-417b-af2a-ea6ee6a10d56.mp4

> @maiyaB Please, look at the border... It must not look like this. If you will play this json on Lottie json editor on website - you'll see the difference...