I am not very experienced in handling iOS applications so might be a stupid question.
I want to display a Map along with different bottom views. When first time the view is loaded, it displays Map along with first bottom view. When user performs an action, it displays the second bottom view but with the same Map View i.e keep the same Map view but display bottom view based on user action. I am looking for a better way to display bottom view based on user action and if user click on back button, it should return to last-displayed bottom view.
-
I tried to apply NavigationController on the bottom view controller (which is a child controller to Map View Controller) but it displays the child view in the entire windows instead of displaying in the bottom.
-
I also thought of registering bottom views to an event and show/hide bottom view based on what kind of event occurred. But here I also want to keep track of last event so when user clicks on back button it should display the last view. As this is very initial state so don't know if it's a good idea or not.
Aucun commentaire:
Enregistrer un commentaire