iOSで全画面にウォータマークを入れるのにUIWiddowSceneDelegateを使うやり方
Appleが提供しているCOVID-19の濃厚接触通知のサンプルプロジェクトで、アプリのあらゆる画面に"REFERENCE ONLY"を表示させるコード部分が、面白い実装だと思ったのでメモします。
プロジェクトファイルは、Building an App to Notify Users of COVID-19 Exposure https://developer.apple.com/documentation/exposurenotification/building_an_app_to_notify_users_of_covid-19_exposure にあります。この中の ExposureNotificationApp/SceneDelegate.swift が次のコードです。