[iOS] Go back after generation
This commit is contained in:
parent
f9c228f9ad
commit
0295d8be65
1 changed files with 7 additions and 3 deletions
|
@ -125,7 +125,9 @@ clearNSMutableString(NSMutableString *string)
|
|||
[alert addAction:
|
||||
[UIAlertAction actionWithTitle: @"OK"
|
||||
style: UIAlertActionStyleDefault
|
||||
handler: nil]];
|
||||
handler: ^ (UIAlertAction *action) {
|
||||
[self.navigationController popViewControllerAnimated: YES];
|
||||
}]];
|
||||
|
||||
[self presentViewController: alert
|
||||
animated: YES
|
||||
|
@ -143,7 +145,9 @@ clearNSMutableString(NSMutableString *string)
|
|||
[alert addAction:
|
||||
[UIAlertAction actionWithTitle: @"OK"
|
||||
style: UIAlertActionStyleDefault
|
||||
handler: nil]];
|
||||
handler: ^ (UIAlertAction *action) {
|
||||
[self.navigationController popViewControllerAnimated: YES];
|
||||
}]];
|
||||
|
||||
[self presentViewController: alert
|
||||
animated: YES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue