0
UIAlertControllerポップアップから「OK」ボタンをクリックすると、以前のView Controllerに戻ります。私はthat.Belowへのこだわりを持っています。これは私のコードです。以前のView Controllerに戻すにはどうしたらいいですか?
if (jsonData == nil){
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"Error!" message:@"This Git repository is empty" preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction* ok = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil];
[alertController addAction:ok];
[self presentViewController:alertController animated:YES completion:nil];
}
Awesome..itsが動作し..私はこの答えを探していますのthnx sir..almostの2hourを!。 –
よろしくお願いします。 –
done up @Dipankar Das :) –