We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dismissModalViewControllerAnimated: and presentModalViewController:animated: had been deprecated in iOS6 or later.
For support iOS6 earlier and later, I used the following code.
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000 [self presentViewController:vc animated:YES completion:^(void){}]; #else [self presentModalViewController:vc animated:YES]; #endif
The text was updated successfully, but these errors were encountered:
Sorry, I took a mistake in the code.
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000 [authViewController presentViewController:vc animated:YES completion:^(void){}]; #else [self presentModalViewController:vc animated:YES]; #endif
Sorry, something went wrong.
Fixed
No branches or pull requests
dismissModalViewControllerAnimated: and presentModalViewController:animated: had been deprecated in iOS6 or later.
For support iOS6 earlier and later, I used the following code.
The text was updated successfully, but these errors were encountered: