Is it OK if dismissModalViewControllerAnimated: gets called before presentModalViewControllerAnimated:?
-
29-10-2019 - |
Frage
I'm doing:
if (navigationController.visibleViewController == passcodeInputNav) {
[navigationController dismissModalViewControllerAnimated:NO];
}
Is the condition unnecessary? Can I just do:
[navigationController dismissModalViewControllerAnimated:NO];
What happens if there's no modal view controller?
Keine korrekte Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow