21d 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
21d 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:


20d ago

Resolved this issue 🙏🤘 Onwards!