rive-ios
rive-ios copied to clipboard
examples does not work + documentation is missing
All examples don't work (some headers are lost)
Xcode 15.2, M2 Pro
(we're stuck with the choice, since it is impossible to determine the capabilities of the library and code base indicates a large lag from web version ... )
Hi @InfiniteFalltrough sorry that you ran into this. It seems like in a recent change the "preview" scheme/target was removed.
The "preview" target uses the published Rive iOS runtime. While the other targets (with the error you're seeing above) is for development purposes.
We just pushed an update and this should be fixed.
You can also find getting-started documentation on the iOS runtime here (including instructions on selecting the correct scheme): https://help.rive.app/runtimes/overview/ios
You'll also find runtime specific documentation (with iOS examples) in the side panel of the runtime docs:
Let us know if the above works for you and we'll go ahead and close this issue.
Hi @HayesGordon, thank you for the prompt response!
Yep, the scheme was delivered and everything works.
I see that there is very detailed documentation regarding the web part. Perhaps this is not the right place for documentation question (please excuse me 😁) but I'll ask: ...to be short - our task is to rewind the animation back and forth (!manually in scroll!) with something like a 'scrub()' method (in the web part) in native iOS app. I've researched the documentation/code(now I've even "touched" examples) but I've only found the ability to play animation backwards (which only works on some animations - btw it's also a little unclear). Is it possible to somehow access the animation timeline for manual rewinding?
I would appreciate any response, maybe I missed some part (or configuration of .riv animation should be "special").
Hi @HayesGordon, thank you for the prompt response!
Yep, the scheme was delivered and everything works.
I see that there is very detailed documentation regarding the web part. Perhaps this is not the right place for documentation question (please excuse me 😁) but I'll ask: ...to be short - our task is to rewind the animation back and forth (!manually in scroll!) with something like a 'scrub()' method (in the web part) in native iOS app. I've researched the documentation/code(now I've even "touched" examples) but I've only found the ability to play animation backwards (which only works on some animations - btw it's also a little unclear). Is it possible to somehow access the animation timeline for manual rewinding?
I would appreciate any response, maybe I missed some part (or configuration of .riv animation should be "special").
I found a way to do it on my own.
Well, issue can be closed.