3
3

More than 5 years have passed since last update.

エラーのときに画面にエラー内容を表示する

Posted at

NSLog以外で簡単にエラー内容を知りたいときには、こんな感じで画面に表示するといいかも。

[[[UIAlertView alloc] initWithTitle:@"エラー" message:[error localizedDescription] delegate:nil cancelButtonTitle:nil otherButtonTitles:@"OK", nil] show];
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3