iOS の標準の alertView と同様のカスタム alertView を作成しています。
ブロック効果を作るために、私はこれをしました
UIView * backgroundView = [[UIView alloc] initWithFrame: CGRectMake(0, 0, screenWidth, screenHeight)];
backgroundView.backgroundColor = [UIColor blackColor];
backgroundView.alpha = 0.4f;
[view addSubview:backgroundView];
標準アラートを表示するのと同じように機能します。
しかし、タブバーのエリアでは機能しません。
どうすればいいですか?
【アラートビュー表示前】
【標準のアラートビューイメージ】
[カスタムアラートビュー画像]