If I have 3 different views which are defined in 3 corresponding functions, namely:
- (UIView *)getView1 { /*...*/ }
- (UIView *)getView2 { /*...*/ }
- (UIView *)getView3 { /*...*/ }
These are added to self.view
when a particular view is required.
My question is, how do we know which of these views is currently being displayed? Is there a parameter that will identify which view is the current view?