Hi, I just have a quick question
What is the layout for app.root.findByPath
?
I tried starting like app.root.findByPath('/Game Screen/Score/Digit 2');
but this doesn’t seem to work. any help?
Hi, I just have a quick question
What is the layout for app.root.findByPath
?
I tried starting like app.root.findByPath('/Game Screen/Score/Digit 2');
but this doesn’t seem to work. any help?
Make sure you’re accessing the correct app. For example, this.app.root
.
Isn’t it, this.app.root
?
Oh Okay. Thought I made a mistake there lol.