I am programming an app that is going to contain multiple views that are interlinked. It has a menu bar that allows you to move from view to view. I am stuck on the view switching because I am unaware of a call that will return my current view.
Basically in order to switch views I have to remove my current view and add my new subview but in order to remove my current view I need my app to know what that is...is there any call that returns my current view so I can remove that view from superview and place my new view etc.
Hope that makes sense.
Thanks.
Basically in order to switch views I have to remove my current view and add my new subview but in order to remove my current view I need my app to know what that is...is there any call that returns my current view so I can remove that view from superview and place my new view etc.
Hope that makes sense.
Thanks.