My app has a category of things so when I press "Burger" button on my home viewcontroller it takes me to secondviewcontroller with more options (Buttons) like "spicy, mild, Fire". what I want to do is I want to save path of those button clicked on thirdviewcontroller as text.
For example on thirdviewcontroller a text says "Burger -> Spicy" or "Burger -> mind" make sure I'm dealing with the button pressed in the path and not text entered.
How do I do that