Is it OK if dismissModalViewControllerAnimated: gets called before presentModalViewControllerAnimated:?
-
29-10-2019 - |
سؤال
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?
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow