次のコードを使用して UIview を作成しています。
UIview* baseView = [[UIview alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
//self.view = baseView;
[self.view addSubview:baseView];
[baseView setBackgroundColor:[UIColor blackColor]];
baseView.userInteractionEnabled = YES;
baseView.alpha = 0.7;
唯一の問題は、mainScreen オプションを使用してフルスクリーンに設定している場合でも、UIWindow の上部にある 5cm の線を除いてフルスクリーンに表示されることです。これには何か理由がありますか?