Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は、ウィジェットを使用して新しい iOS アプリに取り組んでいます。SwiftUI で書かれています。
私のコードのほとんどは Widget ターゲットと App ターゲットの間で共有されていますが、2 つのターゲット間でいくつかの小さなスタイル変更を行いたいと考えています。
コードがウィジェットまたはアプリで実行されているかどうかを確認する方法はありますか?