Can I use the selector getUpdate:
in multiple view controllers? I\'m registering my LevelViewController
as an observer for both GameViewControll
You can create your own NSDictionary
and pass as a value in userInfo
to determine which UIViewController
you came from and appropriately handle the situation using an if
statement.
Alternatively
You can use delegates to execute an event when the back button is present and perform appropriate actions on the previous UIViewController
. Personally i prefer the this approach.