CustomAlert 작업 시 Background에 희미한 색상이 있어 View 디버깅을 해보니
UIVisualEffectBackdropView 타입의 View가 있었다..
시뮬레이터 | 디버깅 |
---|---|
해당 View 타입을 제거하는 코드는
self.view.subviews.first?.isHidden = true
추가로 색깔을 변경하고 싶을 때에는
self.view.subviews.first?.backgroundColor = .blue
로 변경할 수 있다.
참고 자료..
https://stackoverflow.com/questions/37293656/change-uialertcontroller-background-color
'iOS > iOS' 카테고리의 다른 글
iOS) Universal link (0) | 2024.12.12 |
---|---|
iOS) XCFramework 생성 (0) | 2024.04.22 |
음성 녹음, 재생 (0) | 2023.09.04 |
iOS) UIViewController (0) | 2022.12.06 |
iOS) 프레임워크와 라이브러리에 대해서 (0) | 2022.10.19 |