[iOS] Go back after generation

This commit is contained in:
Jonathan Schleifer 2016-10-09 18:39:42 +02:00
parent f9c228f9ad
commit 0295d8be65
No known key found for this signature in database
GPG key ID: 338C3541DB54E169

View file

@ -125,7 +125,9 @@ clearNSMutableString(NSMutableString *string)
[alert addAction: [alert addAction:
[UIAlertAction actionWithTitle: @"OK" [UIAlertAction actionWithTitle: @"OK"
style: UIAlertActionStyleDefault style: UIAlertActionStyleDefault
handler: nil]]; handler: ^ (UIAlertAction *action) {
[self.navigationController popViewControllerAnimated: YES];
}]];
[self presentViewController: alert [self presentViewController: alert
animated: YES animated: YES
@ -143,7 +145,9 @@ clearNSMutableString(NSMutableString *string)
[alert addAction: [alert addAction:
[UIAlertAction actionWithTitle: @"OK" [UIAlertAction actionWithTitle: @"OK"
style: UIAlertActionStyleDefault style: UIAlertActionStyleDefault
handler: nil]]; handler: ^ (UIAlertAction *action) {
[self.navigationController popViewControllerAnimated: YES];
}]];
[self presentViewController: alert [self presentViewController: alert
animated: YES animated: YES