Fairly new to iOS development.
I have a ViewController embedded in a Navigation Controller.
In this ViewController I have two buttons (buttonOne and buttonTwo) which when pressed push to another view controller (ExerciseViewController).
The problem which i am facing is changing the title of the ExerciseViewController depending on which button is pressed.
So if buttonOne is pressed then title of ExerciseViewController is to be set to One.
if buttonTwo is pressed then title of ExerciseViewController is to be set to Two.
both view controllers have their own seperate classes.
..
ViewController.h - ViewController.m - ExerciseViewController.h - ExerciseViewController.m
Thanks for any help in advance.