Watchkit: Updating data across pages

Hi all. I'm still pretty new to watchkit/ios and it is taking some time to wrap my head around some small problems.

I currently have a watch app with multiple pages linked together with Next Page Relationships. My problem is that I'd like to pass data from the first page to the second page and so on.

For instance, on the first page let's say i have a slider that I can modify which changes a variable "sliderValue". I'd like to be able to swipe to page 2 or 3 and have a label show that variable automatically. I'd also like to be able to swipe back to page 1, change the slider, and then swipe back to page 2 or 3 and the value be updated.

This seems like it would be a simple task but everything I try fails. I tried passing the value with GetContextForSegue and Awake with contexts, and various other things, but it doesn't seem to be working.

Any help would be much appreciated!

Sign In or Register to comment.