Is it possible to ‘pop’ a view from any point in an iOS application.
For example, I want an event to trigger a view sliding in (modal) and the event can happen at any time, on any screen in the application.
Also, we’d like this to be something that can be included in other projects and would prefer them not to have to do anything special to these projects (other than wire in the referenced project).
In this case you better play with the appdelegate, but it depends on what kind of application you are using.
create a method in appdelegate which you can call from any view controller
and for dismissing this controller you have to create action on the viewcontroller itself.
NOTE: you only can have 1 modelviewcontroller at a time so make sure your modelviewcontroller is a navigationcontroller itself inorder to stack all your views in it.
something like this,