Is there a way to "recreate" a UIViewController
from within itself. Android SDK 11 added recreate()
method to activities. In researching the topic I found this for UI Restoration: UI Restoration
I don't think this is really what I'm looking for.
Basically, my app is a flashcard app which allows the user to retry missed words if they missed any when they finish the deck. In Android it's a simple this.recreate()
with missed words stored in SharedPreferences
and then reloading the view with the new SharedPreferences
field. I have the UserDefaults
side of this working. I'm not following if recreating view is possible for iOS. Maybe by segueing out and then back in?
I found this Q&A: stackoverflow link
But I'm not using Navigation Controllers. Just a simple UIViewController.
Thanks for reading!