From ccd31fdfe3f0d24b04a6479030ce4dbd88180c3a Mon Sep 17 00:00:00 2001 From: derick182 Date: Sat, 9 Dec 2017 10:25:42 +0100 Subject: [PATCH 1/2] presentModalViewController:animated: deprecated presentModalViewController:animated: is first deprecated in iOS 6 --- SARate/SARateViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SARate/SARateViewController.m b/SARate/SARateViewController.m index df284c0..5b6f19e 100755 --- a/SARate/SARateViewController.m +++ b/SARate/SARateViewController.m @@ -241,7 +241,7 @@ - (void)sendMail{ mailer.modalPresentationStyle = UIModalPresentationPageSheet; } - [self presentModalViewController:mailer animated:YES]; + [self presentViewController:mailer animated:true completion:nil]; } else { From 1901e989b4d6ead86c45057c7d70fc36b67b9de9 Mon Sep 17 00:00:00 2001 From: derick182 Date: Sat, 9 Dec 2017 10:27:15 +0100 Subject: [PATCH 2/2] presentModalViewController:animated: deprecated presentModalViewController:animated: is first deprecated in iOS 6 --- SARate/SARateViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SARate/SARateViewController.m b/SARate/SARateViewController.m index 5b6f19e..4d30113 100755 --- a/SARate/SARateViewController.m +++ b/SARate/SARateViewController.m @@ -241,7 +241,7 @@ - (void)sendMail{ mailer.modalPresentationStyle = UIModalPresentationPageSheet; } - [self presentViewController:mailer animated:true completion:nil]; + [self presentViewController:mailer animated:YES completion:nil]; } else {