I am new to IOS development. In my app I want to replace the view model that's being presented. I show my initial view by calling: presentModalViewController
When I replace the view, I don't want the entire animation to run. I just simply want to change the presentModalViewController underlaying view to update.
When I set:
self.presentModalViewController.view = myCustomViewController.view
it works great for the first time, and really does replace the view But when I try doing it again and replace the view's content at some other point in my application's live, the presentModalViewController does not update.
How can I update the view in presentModalViewController