Thread
8mo ago
How to trigger a timeline/event via code in iOS
More context:
The tab bar has a CTA to bring up a popup. This is a separate Rive runtime.
In the popup, the user explicitly taps “Start Recording”
At this point we want to fire the
startRecording
trigger in code
Do I need an invisible input element to fire the trigger? 🤔
2 replies
Author
8mo ago
Possible solutions I can think of:
1. Add and invisible Input
that we can trigger via code that will then start the recording
2. Move the recording loop out to the Any state
so it doesn't depend on the middle tab bar selection. Maybe this should even be on another layer :thinking:
https://www.loom.com/share/fe7e93571c374bb7bebcc5a5f6d896d7?sid=66d488f9-24f3-4068-87a7-2e3ddb5093bb
Author
8mo ago
Resolved this issue 🙏🤘 Onwards!